feat: disable autocommenting lines.
This commit is contained in:
parent
aa8ac561c5
commit
796131ba16
1 changed files with 8 additions and 0 deletions
|
|
@ -31,3 +31,11 @@ vim.api.nvim_create_autocmd("BufWritePre", {
|
|||
end,
|
||||
})
|
||||
|
||||
-- disable autocommenting lines
|
||||
vim.api.nvim_create_autocmd("FileType", {
|
||||
group = augroup,
|
||||
pattern = "*",
|
||||
callback = function()
|
||||
vim.opt_local.formatoptions:remove({ "r", "o" })
|
||||
end,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue