mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 03:04:30 +08:00
Improve jedi_vim.get_environment
- cache current environment - s/jedi.get_python_environment/jedi.get_system_environment: the former does not exist (renamed in https://github.com/davidhalter/jedi/commit/336087f) - improve error display
This commit is contained in:
committed by
Dave Halter
parent
56eb0f6d63
commit
d75aaa470e
@@ -32,7 +32,7 @@ def display_debug_info():
|
||||
jedi_vim.jedi.__version__))
|
||||
|
||||
try:
|
||||
environment = jedi_vim.get_environment()
|
||||
environment = jedi_vim.get_environment(use_cache=False)
|
||||
except AttributeError:
|
||||
script_evaluator = jedi_vim.jedi.Script('')._evaluator
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user