bangs are "booleans" now
This commit is contained in:
parent
5f13029754
commit
b893d3f005
@ -26,7 +26,7 @@ endf
|
|||||||
|
|
||||||
func! s:load_scripts(bang)
|
func! s:load_scripts(bang)
|
||||||
let f = expand('$HOME/.vim-vundle/vim-scripts.org.json')
|
let f = expand('$HOME/.vim-vundle/vim-scripts.org.json')
|
||||||
if '!' == a:bang || !filereadable(f)
|
if a:bang || !filereadable(f)
|
||||||
call s:fetch_scripts(f)
|
call s:fetch_scripts(f)
|
||||||
endif
|
endif
|
||||||
return eval(readfile(f, 'b')[0])
|
return eval(readfile(f, 'b')[0])
|
||||||
|
Loading…
Reference in New Issue
Block a user