forked from VimPlug/jedi
tests added / error catch
This commit is contained in:
@@ -198,7 +198,8 @@ def complete(source, row, column, source_path):
|
||||
completions = []
|
||||
debug.dbg('possible scopes', scopes)
|
||||
for s in scopes:
|
||||
# TODO is this reall the right way, just ignore the functions?
|
||||
# TODO is this reall the right way? just ignore the functions? \
|
||||
# do the magic functions first? and then recheck here?
|
||||
if not isinstance(s, parsing.Function):
|
||||
completions += s.get_defined_names()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user