1
0
forked from VimPlug/jedi

Added completions test with fuzzy=True

This commit is contained in:
Johannes Maria Frank
2019-10-04 17:18:01 +01:00
parent 85278242c3
commit 0b56bf8f08
3 changed files with 15 additions and 6 deletions

View File

@@ -201,7 +201,7 @@ class Script(object):
self._inference_state.environment,
)
def completions(self):
def completions(self, fuzzy=False):
"""
Return :class:`classes.Completion` objects. Those objects contain
information about the completions, more than just names.
@@ -214,7 +214,7 @@ class Script(object):
self._inference_state, self._get_module_context(), self._code_lines,
self._pos, self.call_signatures
)
return completion.completions()
return completion.completions(fuzzy)
def goto_definitions(self, **kwargs):
"""