reserved words in vi(m)
Bret Hughes
bhughes at elevating.com
Mon Nov 10 04:09:22 UTC 2003
On Sun, 2003-11-09 at 18:11, Robert G. (Doc) Savage wrote:
> (Reposting with a correct subject line. My brain was obviously somewhere
> else during that composition.)
>
> When I was editing my /etc/fstab this morning, I noticed there are at
> least two defined fs_mntops values which vim displays differently than
> others. Most defined values in the fs_type and fs_mntops fields are
> green, but 'loop' and 'users' are either white on a red background (if
> the first option) or white on the default background (if not the first
> option).
>
> What file controls the color displays of these reserved words?
>
That would be the syntax files in the vim package:
for a list:
rpm -ql vim-common-6.2.121-1 |grep syntax
this one looks like a good candidate:
/usr/share/vim/vim62/syntax/grub.vim
HTH
Bret
More information about the users
mailing list