AutoYADM commit: 2024-12-11 17:50:03
This commit is contained in:
parent
5f09c80e13
commit
3a30d1aa21
2 changed files with 0 additions and 4 deletions
|
@ -1,8 +1,6 @@
|
|||
-- Autocmds are automatically loaded on the VeryLazy event
|
||||
-- Default autocmds that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/autocmds.lua
|
||||
-- Add any additional autocmds here
|
||||
vim.opt_local.breakindent = true
|
||||
vim.opt_local.wrap = true
|
||||
-- vim.api.nvim_create_autocmd("FileType", {
|
||||
-- pattern = "python",
|
||||
-- callback = function()
|
||||
|
@ -52,7 +50,6 @@ vim.api.nvim_create_autocmd("FileType", {
|
|||
vim.api.nvim_create_autocmd({ "FileType" }, {
|
||||
pattern = { "markdown" },
|
||||
callback = function()
|
||||
vim.opt_local.breakindent = true
|
||||
-- We want markdown files to autosave
|
||||
vim.api.nvim_create_autocmd({ "InsertLeave", "TextChanged" }, {
|
||||
buffer = 0,
|
||||
|
|
|
@ -5,6 +5,5 @@ local opt = vim.opt
|
|||
opt.scrolloff = 0
|
||||
|
||||
opt.spell = true
|
||||
-- opt.spelllang = vim.tbl_extend("force", opt.spelllang, { "en", "academic" })
|
||||
opt.spelllang = { "en", "en-academic" }
|
||||
-- opt.spelloptions = "camel"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue