This website works better with JavaScript.
Home
Explore
Help
Sign In
RuhNetConsulting
/
Vundle.vim
mirror of
https://github.com/VundleVim/Vundle.vim.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Projects
0
Releases
10
Wiki
Activity
Browse Source
do not sync when `sync` is set to `no`
events
gmarik
15 years ago
parent
124c5abb85
commit
60a46cd58e
2 changed files
with
6 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-1
autoload/vundle/config.vim
+1
-0
autoload/vundle/installer.vim
+ 5
- 1
autoload/vundle/config.vim
View File
@ -81,8 +81,12 @@ endf
let
s
:
bundle
=
{}
func
!
s
:
bundle
.
nosync
(
)
return
has_key
(
self
,
'sync'
)
&&
'no'
=
=
self
.
sync
(
)
endf
func
!
s
:
bundle
.
path
(
)
if
has_key
(
self
,
'sync'
)
&&
'no'
=
=
self
.
sync
if
self
.
nosync
(
)
if
isdirectory
(
expand
(
self
.
uri
)
)
let
path
=
expand
(
self
.
uri
)
endif
+ 1
- 0
autoload/vundle/installer.vim
View File
@ -62,6 +62,7 @@ func! s:helptags(rtp) abort
endf
func
!
s
:
sync
(
bang
,
bundle
)
abort
if
a
:
bundle
.
nosync
(
)
|
return
0
|
endif
let
git_dir
=
expand
(
a
:
bundle
.
path
(
)
.
'/.git'
)
if
isdirectory
(
git_dir
)
if
!
(
a
:
bang
)
|
return
0
|
endif
Write
Preview
Loading…
Cancel
Save