forked from VimPlug/jedi
Remove path argument from completions, because it's really not needed anymore.
This commit is contained in:
@@ -160,12 +160,11 @@ class Script(object):
|
||||
:rtype: list of :class:`classes.Completion`
|
||||
"""
|
||||
debug.speed('completions start')
|
||||
path = self._user_context.get_path_until_cursor()
|
||||
completion = Completion(
|
||||
self._evaluator, self._parser, self._code_lines,
|
||||
self._pos, self.call_signatures
|
||||
)
|
||||
completions = completion.completions(path)
|
||||
completions = completion.completions()
|
||||
debug.speed('completions end')
|
||||
return completions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user