MarcWeber / vim-addon-manager

manage and install vim plugins (including their dependencies) in a sane way. If you have any trouble contact me. Usually I reply within 24 hours
Other
660 stars 59 forks source link

stuck in configuration #183

Closed StephaneKazmierczak closed 6 years ago

StephaneKazmierczak commented 6 years ago

I am using WLS and vam is correctly installed I have a few packages installed already (from apt): editexisting, justify, matchit, youcompleteme

and whereis vam => /usr/bin/vam

but if I try to configure my vim.rc script to use vam:

set nocompatible | filetype indent plugin on | syn on set runtimepath+='/usr/bin/vam' call vam#ActivateAddons(['scrooloose/syntastic'])

then i am getting Unknown function: vam#ActivateAddons

ZyX-I commented 6 years ago

/usr/bin/vam is not a valid place for VAM, /usr/bin is for executable files and whatever you add to &runtimepath must be a directory. Also you have invalid :set syntax, you must not use single quotes there because what you have actually written is “add directory ./'/usr/bin/vam' to &runtimepath” where all quotes are part of the path.

StephaneKazmierczak commented 6 years ago

Thank you, I am still getting exact same error, I also found this https://vi.stackexchange.com/questions/7249/using-vim-addon-manager now I wander if it is related

ZyX-I commented 6 years ago

@StephaneKazmierczak If you installed VAM through apt-get then you did not get VAM from this repository. For some reason @MarcWeber has selected the same name, though I saw that vim-addon-manager only on debian and even there it is stagnating and not very popular.

StephaneKazmierczak commented 6 years ago

thank you so much for this confirmation