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