One thing I hate about a lot of the default Vim plugins is that they add o
to formatoptions
. In Vim I would get around this by using au FileType * set formatoptions-=o
in my vimrc, but for some reason this no longer works when using Neovim. How can I go about achieving this?
Details: Using Neovim 0.4.3 on neovim-qt
after
directory to overwrite plugin defaults. It wouldn't be that simple -- you will have to care about every plugin in question, but should work.BufWinEnter
event instead. That's a late event which should happen after all the filetype detection and setup is done.au BufWinEnter * set fo-=o
.