mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 10:35:38 -07:00
Remove unnecessary code
This commit is contained in:
parent
aca17edd1c
commit
ff01c54720
4
plug.vim
4
plug.vim
@ -717,9 +717,7 @@ function! s:status()
|
||||
let ecnt = 0
|
||||
for [name, spec] in items(g:plugs)
|
||||
if isdirectory(spec.dir)
|
||||
execute 'cd '.spec.dir
|
||||
let [valid, msg] = s:git_valid(spec, 1, 0)
|
||||
cd -
|
||||
let [valid, msg] = s:git_valid(spec, 1, 1)
|
||||
else
|
||||
let [valid, msg] = [0, 'Not found. Try PlugInstall.']
|
||||
endif
|
||||
|
Loading…
Reference in New Issue
Block a user