forked from VimPlug/jedi
same_name_completions -> _same_name_completions, #97
This commit is contained in:
@@ -158,7 +158,7 @@ class Script(object):
|
||||
len(like), s)
|
||||
k = (new.word, new.complete) # key
|
||||
if k in comp_dct and settings.no_completion_duplicates:
|
||||
comp_dct[k].same_name_completions.append(new)
|
||||
comp_dct[k]._same_name_completions.append(new)
|
||||
else:
|
||||
comp_dct[k] = new
|
||||
comps.append(new)
|
||||
|
||||
@@ -165,7 +165,7 @@ class Completion(BaseDefinition):
|
||||
|
||||
# Completion objects with the same Completion name (which means
|
||||
# duplicate items in the completion)
|
||||
self.same_name_completions = []
|
||||
self._same_name_completions = []
|
||||
|
||||
self._followed_definitions = None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user