This commit is contained in:
Alex Yatskov 2024-10-02 18:51:45 -07:00
parent fa882150bf
commit db26041f62
4 changed files with 7 additions and 3 deletions

View File

@ -1,2 +1 @@
vim.opt.formatoptions:remove({'c', 'r', 'o'})
vim.diagnostic.enable(false) vim.diagnostic.enable(false)

View File

@ -1,2 +1 @@
vim.opt.formatoptions:remove({'c', 'r', 'o'})
vim.diagnostic.enable(false) vim.diagnostic.enable(false)

View File

@ -1 +0,0 @@
vim.opt.formatoptions:remove({'c', 'r', 'o'})

View File

@ -22,3 +22,10 @@ vim.api.nvim_create_autocmd({'FocusGained', 'BufEnter', 'CursorHold'}, {
pattern = '*', pattern = '*',
command = 'checktime' command = 'checktime'
}) })
vim.api.nvim_create_autocmd({'BufEnter'}, {
pattern = '*',
callback = function()
vim.opt.formatoptions:remove({'c', 'r', 'o'})
end
})