Friday, October 7, 2011

Re: Pathogen

Excerpts from Paul's message of Fri Oct 07 21:24:43 +0200 2011:
> Is it possible, in .vimrc, to tell Pathogen to not load a particular
> plug-in unless Vim's version number is > 700, for example, but load
> all other plug-ins? Thanks.
Or switch to VAM which is declarative:

call vam#ActivateAddons(['plugin-1','plugin-2'])

if v:verion > 700
call vam#ActivateAddons(['plugin-which-should-be-loaded-if-vim-vers-is-gt-700'])
endif

However adding a finish guard as shown in the other is probably the most
portable solution

Marc Weber

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

No comments: