mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 19:24:36 +08:00
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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user