Auto commit: 2024-11-09 17:10:02
This commit is contained in:
parent
3696001c4b
commit
62dab0d848
1 changed files with 1 additions and 2 deletions
|
@ -59,10 +59,9 @@ vim.api.nvim_create_autocmd({ "FileType" }, {
|
|||
callback = function()
|
||||
vim.opt_local.breakindent = true
|
||||
-- We want markdown files to autosave
|
||||
-- vim.opt_local.autowrite = true
|
||||
vim.api.nvim_create_autocmd({ "InsertLeave", "TextChanged" }, {
|
||||
buffer = 0,
|
||||
command = "write",
|
||||
command = "silent! write",
|
||||
})
|
||||
vim.opt_local.wrap = true
|
||||
vim.opt_local.spell = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue