forked from VimPlug/jedi
Trying to refactor the completion stack finding.
This commit is contained in:
@@ -74,7 +74,7 @@ def setup_readline(namespace_module=__main__):
|
||||
|
||||
lines = common.splitlines(text)
|
||||
position = (len(lines), len(lines[-1]))
|
||||
name = get_on_completion_name(lines, position)
|
||||
name = get_on_completion_name(interpreter._get_module(), position)
|
||||
before = text[:len(text) - len(name)]
|
||||
completions = interpreter.completions()
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user