mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2026-10-22 22:07:14 +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:
1 parent
56eb0f6d63
commit
d75aaa470e
2 files changed
+21
-18
No files matched your search
@@ -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