On 2011-11-14, Peng Yu wrote:
> Hi,
> 
> I have to use the ofllowing to define a match to a word with space in
> it. I'm wondering how to do the something with syn keyword.

    :help :syn-keyword

says:

    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.

Regards,
Gary

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

Reply via email to