On Oct 19, 4:49 am, Teemu Likonen <[EMAIL PROTECTED]> wrote:
> Teemu Likonen [2008-10-19 10:14 +0300]:
>
> > function s:DetectContext()
> >     let syntax_name = synIDattr(synID(line('.'),col('.',1),'name')
>
> A closing ")" was missing from the col() function. So:
>
>       let syntax_name = synIDattr(synID(line('.'),col('.'),1),'name')

I don't know how the syntax highlight work. What I should use to
replace 'name of the syntax item here', 'whatever'  and
'somethingelse'?

Thanks,
Peng
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to