bootstrap: use WarningMsg with python warning message

This commit is contained in:
Daniel Hahler 2015-04-14 22:26:32 +02:00
parent ac42c83a70
commit 800a54da17

View File

@ -11,7 +11,9 @@ function! UltiSnips#bootstrap#Bootstrap()
if !has("python3")
if !has("python")
if !exists("g:UltiSnipsNoPythonWarning")
echo "UltiSnips requires py >= 2.7 or any py3"
echohl WarningMsg
echom "UltiSnips requires py >= 2.7 or any py3"
echohl None
endif
unlet g:_uspy
return