From: Bob Hiestand Date: Thu, 7 Jul 2011 15:48:16 +0000 (-0500) Subject: added 'VCSCommandVCSTypePreference' to documentation X-Git-Tag: v1.99.44~7 X-Git-Url: https://repo.or.cz/w/vcscommand.git/commitdiff_plain/aabaecb90ece12d19688ab2f830734df31c27f9c added 'VCSCommandVCSTypePreference' to documentation --- 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