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:
Andy Stewart
2023-06-05 09:52:56 +01:00
parent 6ebc0fd233
commit 278b393e68

View File

@@ -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