I can't get custom syntax highlight of the LaTeX \footnote command to work. I'm using nvim 0.4.3 through VimR.
I put the following in
./.vim/after/syntax/tex.vim (Edit: my runtimepath is ./.vim/ instead of ./.config/ -- I did try to put the file in ./.config/after/syntax/ but to no avail)
syntax match footnote "footnote" highlight link footnote Todo
(I intend to use a regex pattern later, if I can get this simple version to work)
Nothing happens when I type the command in a random .tex file. Not even after I do
:set syntax=tex and not even with a minimal .vimrc with all plugins disabled.
:scriptnames I see that the custom file is loaded as one of the very last files, right after the default syntax file in my VimR installation. The indent/tex.vim in my VimR installation is loaded even later.