1
0
forked from VimPlug/jedi

Fix an issue with complete_search

This commit is contained in:
Dave Halter
2021-01-10 16:08:17 +01:00
parent 4597c7ebe7
commit 6279791b24
3 changed files with 10 additions and 4 deletions
+2 -1
View File
@@ -328,7 +328,8 @@ class Project:
)
# 2. Search for identifiers in the project.
for module_context in search_in_file_ios(inference_state, file_ios, name):
for module_context in search_in_file_ios(inference_state, file_ios,
name, complete=complete):
names = get_module_names(module_context.tree_node, all_scopes=all_scopes)
names = [module_context.create_name(n) for n in names]
names = _remove_imports(names)