motiejus/dotfiles

Unnamed repository; edit this file 'description' to name the repository.
git clone https://git.jakstys.lt/motiejus/dotfiles.git
Log | Tree | Refs | README | LICENSE

commit 251853bc1e49cb7e2ddcf1573af1fb03f4ac0110 (tree)
parent 639b9f9a547f6882319da354892967a754683635
Author: Tim Pope <code@tpope.net>
Date:   Wed, 20 Jun 2018 14:32:10 -0400

Fix use of <Plug> in a <script> map

References https://github.com/tpope/vim-fugitive/issues/1044

Diffstat:
Mautoload/fugitive.vim | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim @@ -115,7 +115,7 @@ function! s:recall() abort endfunction function! s:map(mode, lhs, rhs, ...) abort - let flags = (a:0 ? a:1 : '') . (a:rhs =~# '^<Plug>' ? '' : '<script>') + let flags = (a:0 ? a:1 : '') . (a:rhs =~# '<Plug>' ? '' : '<script>') let head = a:lhs let tail = '' let keys = get(g:, a:mode.'remap', {})