mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-14 06:13:51 -05:00
Do what the user means for LANG= in g:fugitive_git_executable
This commit is contained in:
@@ -6,8 +6,10 @@ if exists('g:autoloaded_fugitive')
|
||||
endif
|
||||
let g:autoloaded_fugitive = 1
|
||||
|
||||
if !exists('g:fugitive_git_executable') || g:fugitive_git_executable =~# '^LANG='
|
||||
if !exists('g:fugitive_git_executable')
|
||||
let g:fugitive_git_executable = 'git'
|
||||
elseif g:fugitive_git_executable =~# '^\w\+='
|
||||
let g:fugitive_git_executable = 'env ' . g:fugitive_git_executable
|
||||
endif
|
||||
|
||||
" Section: Utility
|
||||
|
||||
Reference in New Issue
Block a user