diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim index 60d4327..d420ed3 100644 --- a/autoload/fugitive.vim +++ b/autoload/fugitive.vim @@ -208,9 +208,13 @@ let s:nowait = v:version >= 704 ? '' : '' function! s:Map(mode, lhs, rhs, ...) abort let maps = [] + let unique = a:0 && a:1 =~# '' + let flags = substitute(a:0 ? a:1 : '', '', '', '') . (a:rhs =~# '' ? '' : '