mirror of
https://github.com/notwa/rc
synced 2024-11-04 22:39:02 -08:00
update pathogen
This commit is contained in:
parent
8554a0bd28
commit
7171dcdb7c
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ endfunction "}}}1
|
|||
function! pathogen#surround(path) abort
|
||||
let sep = pathogen#slash()
|
||||
let rtp = pathogen#split(&rtp)
|
||||
let path = fnamemodify(a:path, ':p:?[\\/]\=$??')
|
||||
let path = fnamemodify(a:path, ':p: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])')
|
||||
call filter(rtp, 'index(before + after, v:val) == -1')
|
||||
|
|
Loading…
Reference in a new issue