no more enter creating more extra comments

This commit is contained in:
Chris 2021-03-14 23:27:01 -04:00
parent 759a20ae89
commit 021c886f79
2 changed files with 11 additions and 8 deletions

View file

@ -23,7 +23,9 @@ end
define_augroups(
{_general_settings = {
{'TextYankPost', '*', 'lua require(\'vim.highlight\').on_yank({higroup = \'IncSearch\', timeout = 200})'},
{'BufWinEnter', '*', 'setlocal formatoptions-=c formatoptions-=r formatoptions-=o'},
{'BufRead', '*', 'setlocal formatoptions-=c formatoptions-=r formatoptions-=o'},
{'BufNewFile', '*', 'setlocal formatoptions-=c formatoptions-=r formatoptions-=o'},
},
}
)