Attempted fix at several startup problems.

This commit is contained in:
Holger Rapp 2014-02-20 14:32:28 +01:00
parent 2d18d53656
commit 48dcaa02bc

View File

@ -1,10 +1,10 @@
let s:SourcedFile=expand("<sfile>")
function! UltiSnips#bootstrap#Bootstrap()
if exists('did_UltiSnips_bootstrap')
if exists('s:did_UltiSnips_bootstrap')
return
endif
let did_UltiSnips_bootstrap=1
let s:did_UltiSnips_bootstrap=1
if !exists("g:UltiSnipsUsePythonVersion")
let g:_uspy=":py3 "
@ -13,6 +13,7 @@ function! UltiSnips#bootstrap#Bootstrap()
if !exists("g:UltiSnipsNoPythonWarning")
echo "UltiSnips requires py >= 2.6 or any py3"
endif
unlet g:_uspy
finish
endif
let g:_uspy=":py "