> Hi,
>
> I wonder if there is a way to examine every word in a document as it is
> loaded and
> select a bg color for that word.
You could write a custom syntax-highlighting scheme.
See :help syntax
For e.g,
syntax keyword My_IO_Funcs "\zs\<read\ze\s(*
syntax keyword My_IO_Funcs "\zs\<write\ze\s(*
syntax keyword My_IO_Funcs "\zs\<open\ze\s(*
" .. etc
And finally,
hi link My_IO_Funcs Type
--
You received this message from the "vim_use" 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
No comments:
Post a Comment