Sunday, January 20, 2013

Re: How to highglight capital words??

> You can add the "\>" token to ensure that they go through the end of
>
> the word:
>
> match Keyword /[A-Z]\{2,}\>/
>
> -tim

Thanks for your advice tim. It works, but it still highlights text like this:
aSDL

I added \< so that the line is like this:

match Keyword /\<[A-Z]\{2,\}\>/

But that way it doesn't work at all. Have I messed it up a little bit?

--
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: