bangs are "booleans" now

This commit is contained in:
gmarik 2011-03-06 15:17:36 -06:00
parent 5f13029754
commit b893d3f005

View File

@ -26,7 +26,7 @@ endf
func! s:load_scripts(bang)
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)
endif
return eval(readfile(f, 'b')[0])