having problems installing lhCpp

32 views
Skip to first unread message

Davy Landman

unread,
Feb 13, 2011, 2:54:26 PM2/13/11
to lh-vim-users
I did the following:
I moved my current .vim to .vim-backup

than i installed:
- lh-vim-lib-2.2.4.vba
- lh-map-tools-1.0.0.vba (deprecated download from google code)
- mu-template-2.2.1.vba

And everything works as it should (the templates, the braces, the
mappings etc)

But then i run:
svn export http://lh-vim.googlecode.com/svn/cpp/trunk/ lh-cpp-read-
only
and a
cp -R lh-cpp-read-only/* ~/.vim/

and when it type
vim test.c

the following error pops up.

Error detected while processing /home/davy/.vim/plugin/omap-param.vim:
line 44:
E116: Invalid arguments for function
Un(Null,fun2(fun3(a,b,g(NULL))),t, titi, r , zzz
E15: Invalid expression: Un(Null,fun2(fun3(a,b,g(NULL))),t, titi, r ,
zzz
line 45:
E116: Invalid arguments for function
Un(Null,fun2(fun3(a,b,g(NULL))),t, titi, , zzz)
E15: Invalid expression: Un(Null,fun2(fun3(a,b,g(NULL))),t, titi, ,
zzz)
Press ENTER or type command to continue


What is wrong? How can I fix it?

Thanks,
Davy

Luc Hermitte

unread,
Feb 14, 2011, 5:45:57 AM2/14/11
to lh-vim...@googlegroups.com
Hello,

2011/2/13 Davy Landman
I did the following:
I moved my current .vim to .vim-backup

than i installed:
- lh-vim-lib-2.2.4.vba
- lh-map-tools-1.0.0.vba (deprecated download from google code)

Is there any reason you did not installed the latest version ? Did I forget a link somewhere that pointed to the version 1.0.0 ?
 
- mu-template-2.2.1.vba

And everything works as it should (the templates, the braces, the
mappings etc)

But then i run:
svn export http://lh-vim.googlecode.com/svn/cpp/trunk/ lh-cpp-read-
only
and a
cp -R lh-cpp-read-only/* ~/.vim/

and when it type
vim test.c

the following error pops up.

Error detected while processing /home/davy/.vim/plugin/omap-param.vim:
line   44:
E116: Invalid arguments for function
Un(Null,fun2(fun3(a,b,g(NULL))),t, titi, r  , zzz
[...]

What is wrong? How can I fix it?

That's odd. It looks like the version of omap-param you fetched has not the "if 0" that protects the 2 lines I use to test the plugin:
http://code.google.com/p/lh-vim/source/browse/cpp/trunk/plugin/omap-param.vim#43
Does the version you have matches the version of the revision 247 ?

NB: you can always remove those two lines, but that do not explain where your version comes from, or why you don't have the "if 0" as I see no version committed without the "if 0".

--
Luc Hermitte
Reply all
Reply to author
Forward
0 new messages