Re: vim 7.3 syntax highlight for c functions

2011-11-14 Thread sinbad
On Nov 13, 9:45 am, Leiking wrote: > try std_c.vim > hi, i tried std_c.vim script, it is working great. except that for some "c" files it is throwing the error. E169: Command too recursive line 940: E169: Command too recursive Press ENTER or type command to continue this is the culprit line. "

Re: vim 7.3 syntax highlight for c functions

2011-11-12 Thread Ivan S. Freitas
On Sun, Nov 13, 2011 at 2:45 AM, Leiking wrote: > try std_c.vim Also look at http://www.vim.org/scripts/script.php?script_id=3064 To highlight custom function/types, you need to define or link some highlighting groups. I never saw anything about *_t types/structures, but it may not be too dific

Re: vim 7.3 syntax highlight for c functions

2011-11-12 Thread Leiking
try std_c.vim 2011/11/13 sinbad : > On Nov 12, 1:27 pm, sinbad wrote: >> hi, >> >> i am trying to syntax highlight the c function calls. i asked google, >> someone suggested to add >> the following in c.vim. >> >> " Highlight Class and Function names >> syn match    cCustomParen    "(" contains=c

Re: vim 7.3 syntax highlight for c functions

2011-11-12 Thread sinbad
On Nov 12, 1:27 pm, sinbad wrote: > hi, > > i am trying to syntax highlight the c function calls. i asked google, > someone suggested to add > the following in c.vim. > > " Highlight Class and Function names > syn match    cCustomParen    "(" contains=cParen,cCppParen > syn match    cCustomFunc