mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Avoid unnecessary concatenation
This is simply to avoid double spaces in the generated commands. Double spaces make no practical difference but look slightly inelegant.
This commit is contained in:
@@ -121,7 +121,11 @@ endfunction
|
|||||||
|
|
||||||
|
|
||||||
function! gitgutter#git()
|
function! gitgutter#git()
|
||||||
return g:gitgutter_git_executable.' '.g:gitgutter_git_args
|
if empty(g:gitgutter_git_args)
|
||||||
|
return g:gitgutter_git_executable
|
||||||
|
else
|
||||||
|
return g:gitgutter_git_executable.' '.g:gitgutter_git_args
|
||||||
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user