juneedahamed / vc.vim

Support for SVN, Git, HG and BZR
47 stars 9 forks source link

can't diff #18

Open likelxl opened 6 years ago

likelxl commented 6 years ago

default

morsedl commented 6 years ago

Same problem I had (i.e., with VCDiff). The plugin assumes ENGLISH at the command line (CLI). See issue #13.

You'll either have to edit autoload/vc/svn.vim, switch to English at the CLI, or probably easiest is to put a wrapper around your VC (svn, git) program:

unset LANG
unset LANGUAGE
export LC_ALL=en_US.utf8
exec svn-real "$@"

which assumes you've moved svn to svn-real (or svn.exe to svn-real.exe)

Replace "svn" with "git" or whichever VC you are using in the above example if needed.

Hope this helps.