I am quite new to Vim and have the following problem:
In my .gvimrc
I defined
syn keyword Todo PMID
to highlight every PMID
in the files I edit. This works quite well as long as no general syntax highlighting is applied to the file (via setf
or autocmd BufRead,BufNewFile …
)
My question: How do I maintain a list of individual keywords which are highlighted no matter what file I edit and which syntax highlight I use for that file?