Monday, November 14, 2011

Re: How to let syn keyword accept space?

On 11/14/11 13:09, Gary Johnson wrote:
> Don't forget that a keyword can only be recognized if all the
> characters are included in the 'iskeyword' option. If one character
> isn't, the keyword will never be recognized.
>
>> Also is 'syn match' slower than 'syn keyword'?
>
> I don't know, probably. But that matters only if you have a choice,
> and in this case, you don't.

There's a Hobson's choice...you can add spaces to 'isk' ;-)

...as long as you don't mind it totally screwing up your expected
behavior for a zillion other things :)

-tim


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