mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 03:23:47 -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()
|
||||
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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user