This commit is contained in:
Alex Yatskov 2024-10-02 20:33:48 -07:00
parent db26041f62
commit 2e9b0d36f0

View File

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