Use "echohl WarningMsg" instead of "echoerr" in no_jedi_warning

`echoerr` causes Vim to throw an error, but like the function name
indicates, this is only a warning.
This commit is contained in:
Daniel Hahler
2015-04-29 11:29:27 +02:00
parent 401731c98b
commit 2611ea3c27

View File

@@ -15,7 +15,7 @@ except ImportError:
def no_jedi_warning():
vim.command('echoerr "Please install Jedi if you want to use jedi_vim."')
vim.command('echohl WarningMsg | echom "Please install Jedi if you want to use jedi_vim." | echohl None')
def echo_highlight(msg):