mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-17 15:53:43 -05:00
Provide g:fugitive_defer_to_existing_maps
References: https://github.com/tpope/vim-fugitive/issues/1425
This commit is contained in:
@@ -725,7 +725,7 @@ function! s:Map(mode, lhs, rhs, flags) abort
|
||||
let head = substitute(head, '<[^<>]*>$\|.$', '', '')
|
||||
endwhile
|
||||
endif
|
||||
if flags !~# '<unique>' || empty(mapcheck(head.tail, a:mode))
|
||||
if empty(mapcheck(head.tail, a:mode))
|
||||
exe a:mode.'map' s:nowait flags head.tail a:rhs
|
||||
endif
|
||||
endfunction
|
||||
|
||||
Reference in New Issue
Block a user