mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 02:25:35 -07:00
Add after directory to rtp as well
This commit is contained in:
parent
77da66ad63
commit
754abb36a2
3
plug.vim
3
plug.vim
@ -99,6 +99,9 @@ function! s:add(...)
|
||||
let uri = 'https://git:@github.com/' . plugin . '.git'
|
||||
let spec = { 'name': name, 'dir': dir, 'uri': uri, 'branch': branch }
|
||||
execute "set rtp+=".dir
|
||||
if isdirectory(dir.'after')
|
||||
execute "set rtp+=".dir.'after'
|
||||
endif
|
||||
let g:plug[plugin] = spec
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user