diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index ce945ed..6cbf90b 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -79,7 +79,7 @@ endfunction function! s:Mods(mods, ...) abort let mods = substitute(a:mods, '\C', '', '') - let mods = mods =~# '\S$' ? a:mods . ' ' : a:mods + let mods = mods =~# '\S$' ? mods . ' ' : mods if a:0 && mods !~# '\<\%(aboveleft\|belowright\|leftabove\|rightbelow\|topleft\|botright\|tab\)\>' let mods = a:1 . ' ' . mods endif