From 2611ea3c2704ecfd964d9d4375b3daf2db84d643 Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Wed, 29 Apr 2015 11:29:27 +0200 Subject: [PATCH] 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. --- jedi_vim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jedi_vim.py b/jedi_vim.py index 183c518..ce52f93 100644 --- a/jedi_vim.py +++ b/jedi_vim.py @@ -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):