Remove unnecessary code

This commit is contained in:
Junegunn Choi 2014-03-13 01:04:17 +09:00
parent aca17edd1c
commit ff01c54720

View File

@ -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