Hello,
There is a problem with syntax highlighting in "rc" files (e.g. _vimrc).
I am using the following commands to highlight tabs:
:hi Tab ctermbg=235
autocmd BufWinEnter * syntax match Tab /\t/ containedin=ALL
This works as expected in file types like .c, .html, .js, and .java.
In "rc" files, however, a tab is not highlighted when it is preceded
by a string consisting entirely of decimal digits (e.g. 55, 123, 9000).
Adding spaces between the number string and the tab does not
change the behavior - the tab is still not highlighted.
The ftplugin files are the default ones included in the distribution.
This problem is seen with vim version 8.2 (included patches 1-4372)
on Cygwin, and also with version 8.2 (included patches 1-2072) on Linux.
I have version 7.3 running on a Mac that does not have the problem.
Best regards,
Dave McCooey