Running :verbose set fo? shows Last set from /usr/share/nvim/runtime/ftplugin/lua.vim line 20, where the culprit lies.
You either have have to change that file, or replace set formatoptions-=cro with au BufEnter * set fo-=c fo-=r fo-=o, an autocommand which does the job after opening neovim as a temporary measure.
Based on: https://vi.stackexchange.com/a/17739.
Running
:verbose set fo?
showsLast set from /usr/share/nvim/runtime/ftplugin/lua.vim line 20
, where the culprit lies.You either have have to change that file, or replace
set formatoptions-=cro
withau BufEnter * set fo-=c fo-=r fo-=o
, an autocommand which does the job after opening neovim as a temporary measure.