i was using std_c.vim to highlight c code syntax.
strangely i observed that the script is running into
an infinite loop with the following error. and the file
test.h is an empty file. the script doesn't return any
error if i rename test.h to test.c (the file is still empty).

[bash]#  vi test.h
Error detected while processing /home/vim7.3/run/share/vim/vim73/
syntax/c.vim:
E169: Command too recursive
line  923:
E169: Command too recursive

the script is located at
http://pastebin.com/gnYzdZMc

how does a script know when to load depending on the type of file.
and why is the above script only for .h files but not .c files.
and if anyone can point me to the problem in the script, it will be
helpful.

cheers

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