From ad27bc0a5a565804a7779a00df8480362d85b3c7 Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 14 Sep 2021 16:51:38 +0100 Subject: [PATCH] Update plugins to latest master --- pack/acp/opt/vim-pathogen/autoload/pathogen.vim | 4 ++-- pack/acp/start/gruvbox/gruvbox_256palette.sh | 0 pack/acp/start/gruvbox/gruvbox_256palette_osx.sh | 0 pack/acp/start/vim-speeddating/plugin/speeddating.vim | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 pack/acp/start/gruvbox/gruvbox_256palette.sh mode change 100644 => 100755 pack/acp/start/gruvbox/gruvbox_256palette_osx.sh 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