I can successfully run
:sp *filename* several times per vim session, but after a seemingly-random number of splits (5-10) all future splits will no longer have syntax highlighting until I fully quit vim in that terminal. Can be quite annoying as I will have to remember all the files I have open in that session before restarting vim.
To clarify, I am not splitting the current screen between 5-10 files; I am using
:sp a few times,
:q to close some windows,
:sp again, etc. When syntax highlighting starts to fail I might only have 2 or 3 files currently split.
:e to reload does not help this issue.
I have a pretty simple .vimrc:
autocmd BufNewFile,BufRead *.svp,*.svh,*.sv,*.v,*.vh so ~/.vim/syntax/verilog_systemverilog.vim
set tabstop=4 shiftwidth=4 expandtab
nnoremap J gJ