From aabaecb90ece12d19688ab2f830734df31c27f9c Mon Sep 17 00:00:00 2001 From: Bob Hiestand Date: Thu, 7 Jul 2011 10:48:16 -0500 Subject: [PATCH] added 'VCSCommandVCSTypePreference' to documentation --- doc/vcscommand.txt | 8 ++++++++ plugin/vcscommand.vim | 8 ++++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/doc/vcscommand.txt b/doc/vcscommand.txt index 5e0c4c0..f56e7ef 100644 --- a/doc/vcscommand.txt +++ b/doc/vcscommand.txt @@ -447,6 +447,7 @@ The following variables are available: |VCSCommandSVNDiffOpt| |VCSCommandSVNExec| |VCSCommandVCSTypeOverride| +|VCSCommandVCSTypePreference| VCSCommandCommitOnWrite *VCSCommandCommitOnWrite* @@ -593,6 +594,13 @@ element is a regular expression that will be matched against the full file name of a given buffer. If it matches, the second element will be used as the VCS type. +VCSCommandVCSTypePreference *VCSCommandVCSTypePreference* + +This variable allows the VCS type detection to be weighted towards a specific +VCS, in case more than one potential VCS is detected as useable. The format +of the variable is either a list or a space-separated string containing the +ordered-by-preference abbreviations of the preferred VCS types. + 5.2 VCSCommand events *vcscommand-events* For additional customization, vcscommand can trigger user-defined events. diff --git a/plugin/vcscommand.vim b/plugin/vcscommand.vim index 0c9f4f6..05ac69e 100644 --- a/plugin/vcscommand.vim +++ b/plugin/vcscommand.vim @@ -273,11 +273,11 @@ " be used as the VCS type. " " VCSCommandVCSTypePreference -" This variable allows the VCS type detection to be weighted towards -" a specific VCS, in case more than one potential VCS is detected as useable. +" This variable allows the VCS type detection to be weighted towards a +" specific VCS, in case more than one potential VCS is detected as useable. " The format of the variable is either a list or a space-separated string -" containing the abbreviations of the preferred VCS types. eg: 'git bzr -" cvs'. When there is ambiguity as to which VCS should be used. +" containing the ordered-by-preference abbreviations of the preferred VCS +" types. " " Event documentation {{{2 " For additional customization, VCSCommand.vim uses User event autocommand -- 2.11.4.GIT