mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 03:04:30 +08:00
Trying to improve jedi-vim, when Jedi is not found. Fixes #263.
This commit is contained in:
@@ -18,8 +18,5 @@ import traceback
|
||||
|
||||
# update the sys path to include the jedi_vim script
|
||||
sys.path.insert(0, vim.eval('expand(s:script_path)'))
|
||||
try:
|
||||
import jedi_vim
|
||||
except ImportError:
|
||||
vim.command('echoerr "Please install Jedi if you want to use jedi_vim."')
|
||||
import jedi_vim
|
||||
sys.path.pop(1)
|
||||
|
||||
Reference in New Issue
Block a user