This website works better with JavaScript.
Home
Explore
Help
Sign In
brennen
/
vundle
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
6
Wiki
Activity
Browse Source
use bundle.installed to check installation
events
gmarik
14 years ago
parent
b32ac42e06
commit
ece8fdccbf
2 changed files
with
1 additions
and
5 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-4
autoload/vundle/installer.vim
+1
-1
test/vimrc
+ 0
- 4
autoload/vundle/installer.vim
View File
@ -62,10 +62,6 @@ func! s:helptags(rtp) abort
endf
func
!
s
:
installed
(
bundle
)
abort
return
!
empty
(
split
(
globpath
(
a
:
bundle
.
path
(
)
,
'*'
)
,
"\n"
)
)
endf
func
!
s
:
sync
(
bang
,
bundle
)
abort
if
a
:
bundle
.
nosync
(
)
|
return
0
|
endif
if
a
:
bundle
.
installed
(
)
+ 1
- 1
test/vimrc
View File
@ -47,7 +47,7 @@ BundleInstall
func
!
s
:
assert_bundles
(
)
abort
for
b
in
g
:
vundle
#
bundles
if
(
!
isdirectory
(
b
.
path
(
)
.
'/.git'
)
)
if
(
!
b
.
installed
(
)
)
throw
b
.
name
.
' not installed'
endif
endfor
Write
Preview
|
|
|
|
|
|
|
x
0
0
0:0
Loading…
Cancel
Save