syntax enable problems
The function r-plugin/functions.vim/FillRLibList() calls syntax enable and it is causing me some problems. At the least, my statusbar loses my specified coloring and my italicized comments (hi Comment cterm=italic) go back to regular font after :syntax enable. I have set both of these in my .vimrc. I'm not sure why this is happening because :help syn-enable says that my color settings should not be lost.
Any tips to fix this? By the way, this is happening both in neovim and regular vim.
This means that I cannot use syntax enable. The solution that I have found was to set filetype after CursorMove event, but I now I think that BufEnter could have been better because it is called less frequently. I will change to BufEnter if we don't find a better solution. Perhaps we have to wait for https://github.com/neovim/neovim/issues/901