modal
modal

Reputation: 1

VCScommand for VIM

I am trying to use HG (Mercurial) with the Vim VCScommand plugin, but am running into a problem "Too many matching VCS: git HG". I removed the vcsgit.vim and the HG binding seemed to work. I thought VCScommand used the folder to determine, which VCS one was using. I guess this is a flawed assumption.

Upvotes: 0

Views: 1363

Answers (1)

Zsolt Botykai
Zsolt Botykai

Reputation: 51693

You can override the detection via the VCSCommandVCSTypeOverride variable. Most probably you can only get the error you had mentioned if the actual file (and its directory is vc-ed with both git and hg.

Upvotes: 1

Related Questions