Open sts10 opened 8 years ago
It seems that I am having the same issue with a setlocal
command in a vimscript not working correctly.
In particular vimtex overrides omnifunc
using setlocal
, which seems to work with command-line nvim but not with NeoVim.app.
Or rather, it does work but not when I had an ordinaryset
command in my init.vim
file, where in that case the non-local set
would take precedence.
In my nvim config file I have
so that only HTML files have (soft) line wrapping. This works just fine in Neovim, but in Neovim dot app, the lines are not wrapped when I open an existing HTML file.
If I run
:e.
in the HTML file, the lines wrap. Also if I run:set ft=html
or:setlocal ft=html
the lines then wrap. But I'd obviously like them to be wrapped right when I open the file.