pombreda / vcscommand

Automatically exported from code.google.com/p/vcscommand
0 stars 0 forks source link

VCS configuration cannot be shared with machines with vim 6 #19

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When VCSCommand is used on machines that do not have at least Vim 7
installed, it complains quite loudly.  This problematic for me because I
share my Vim configuration between multiple machines.  Some have Vim 7
installed, and I'd like to use VCSCommand on those machines.  Others do not
have Vim 7 installed, and VCSCommand throws a real ruckus with multiple
warning messages.

I can work around this for vcscommand.vim by setting loaded_VCSCommand
before the script is executed.  However, the other files (vcssvn.vim, etc.)
all complain and do not have this work-around available.

Two simple options come to mind:
 1. Modify all scripts to use separate variables, similar to
loaded_VCSCommand (e.g., loaded_VCSSVN, etc.), which can be used to
explicitly prevent the scripts from executing
 2. Create a single variable that would inhibit the warning messages that
normally get produced.  Modify all scripts to check that single shared
variable before printing a warning about the version of Vim.

I would be happy to supply a patch for either approach, if you simply
indicate which you would prefer.  Alternatively, both approaches are rather
simple, and perhaps you'd like to make the change yourself.  Either way, a
change would be greatly appreciated.

Original issue reported on code.google.com by rjbe...@gmail.com on 2 Jul 2008 at 7:40

GoogleCodeExporter commented 9 years ago
master now has a 'VCSCommandDisableAll' option which, if set to any value, will
prevent the plugin or extensions from loading.

Original comment by bob.hies...@gmail.com on 29 Aug 2008 at 6:10