1
0
forked from VimPlug/jedi

Fix REPL completion param name completion

There were two issues:
1. The filter for parameters was wrong
2. In general the equal sign would not be added in some circumstances
This commit is contained in:
Dave Halter
2018-03-13 21:36:04 +01:00
parent 0dda740c5d
commit f9ec989835
4 changed files with 22 additions and 15 deletions

View File

@@ -95,6 +95,7 @@ def setup_readline(namespace_module=__main__):
)
before = text[:len(text) - len(name)]
completions = interpreter.completions()
logging.debug("REPL completions: %s", completions)
except:
logging.error("REPL Completion error:\n" + traceback.format_exc())
raise