mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2026-10-13 00:20:29 +08:00
additional dynamic modules used to complete between different vim buffers (in functions)
This commit is contained in:
1 parent
f64c64d1bc
commit
d4e2e082d6
2 files changed
+2
-1
No files matched your search
+1
-1
Submodule jedi updated: 111f7c637f...908d019390.
@@ -93,6 +93,7 @@ def echo_highlight(msg):
|
|||||||
|
|
||||||
|
|
||||||
def get_script(source=None, column=None):
|
def get_script(source=None, column=None):
|
||||||
|
jedi.settings.additional_dynamic_modules = [b.name for b in vim.buffers]
|
||||||
if source is None:
|
if source is None:
|
||||||
source = '\n'.join(vim.current.buffer)
|
source = '\n'.join(vim.current.buffer)
|
||||||
row = vim.current.window.cursor[0]
|
row = vim.current.window.cursor[0]
|
||||||
|
|||||||
Reference in new issue
Block a user