You are not logged in.
Pages: 1
Hi people!
I try to use this script http://www.vim.org/scripts/script.php?script_id=2961 . I copy this file in /usr/share/vim/vim73/indent
but I have this error when open a file *.groovy
Error detected while processing /usr/share/vim/vim73/indent/groovy.vim:
line 5:
E492: Not an editor command: ^M
line 7:
E15: Invalid expression: exists("b:did_indent")^M
line 164:
E171: Missing :endif
Press ENTER or type command to continue
The script looks ok. I can't figure out what's going on.
Thanks in advance.
Last edited by Horris (2010-09-30 02:08:59)
Offline
'^M' are end-of-line marks for dos - remove them: http://www.tech-recipes.com/rx/150/remo … nes-in-vi/
Last edited by karol (2010-09-30 02:02:04)
Offline
SOLVED
this works! thanks.
Offline
Pages: 1