diff --git a/pack/acp/opt/vim-pathogen/autoload/pathogen.vim b/pack/acp/opt/vim-pathogen/autoload/pathogen.vim index 3582fbf..b2891cd 100644 --- a/pack/acp/opt/vim-pathogen/autoload/pathogen.vim +++ b/pack/acp/opt/vim-pathogen/autoload/pathogen.vim @@ -118,7 +118,7 @@ function! pathogen#surround(path) abort let rtp = pathogen#split(&rtp) let path = fnamemodify(a:path, ':s?[\\/]\=$??') let before = filter(pathogen#expand(path), '!pathogen#is_disabled(v:val)') - let after = filter(reverse(pathogen#expand(path, sep.'after')), '!pathogen#is_disabled(v:val[0:-7])') + let after = filter(reverse(pathogen#expand(path, sep.'after')), '!pathogen#is_disabled(v:val[0 : -7])') call filter(rtp, 'index(before + after, v:val) == -1') let &rtp = pathogen#join(before, rtp, after) return &rtp @@ -136,7 +136,7 @@ function! pathogen#interpose(name) abort let list = [] for dir in pathogen#split(&rtp) if dir =~# '\', 'Up'], ['', 'Down']] let s:rhs = maparg(s:key, 'n') if !empty(maparg('SpeedDatingFallback'.s:type, 'n')) continue - elseif s:rhs =~# '^$\|^SpeedDating' + elseif s:rhs =~# '^$\|^gggHG$\|^"+gP$\|^SpeedDating' exe 'nnoremap SpeedDatingFallback'.s:type s:key else exe 'nmap SpeedDatingFallback'.s:type s:rhs