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

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

Reply via email to