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

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CANGAOmauUscvWsMMzTOy8O4rs%2BxZRAQPS5dnNd-w8ouByq0v%2Bg%40mail.gmail.com.

Raspunde prin e-mail lui