mirror of
https://github.com/junegunn/vim-plug.git
synced 2024-12-19 18:47:29 -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
|
let ecnt = 0
|
||||||
for [name, spec] in items(g:plugs)
|
for [name, spec] in items(g:plugs)
|
||||||
if isdirectory(spec.dir)
|
if isdirectory(spec.dir)
|
||||||
execute 'cd '.spec.dir
|
let [valid, msg] = s:git_valid(spec, 1, 1)
|
||||||
let [valid, msg] = s:git_valid(spec, 1, 0)
|
|
||||||
cd -
|
|
||||||
else
|
else
|
||||||
let [valid, msg] = [0, 'Not found. Try PlugInstall.']
|
let [valid, msg] = [0, 'Not found. Try PlugInstall.']
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user