forked from VimPlug/jedi
+1
-1
@@ -157,7 +157,7 @@ class Script(object):
|
|||||||
new = api_classes.Completion(c, needs_dot,
|
new = api_classes.Completion(c, needs_dot,
|
||||||
len(like), s)
|
len(like), s)
|
||||||
k = (new.word, new.complete) # key
|
k = (new.word, new.complete) # key
|
||||||
if k in comp_dct and not settings.no_completion_duplicates:
|
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:
|
else:
|
||||||
comp_dct[k] = new
|
comp_dct[k] = new
|
||||||
|
|||||||
+1
-1
@@ -16,7 +16,7 @@ add_bracket_after_function = False
|
|||||||
|
|
||||||
# If set, completions with the same name don't appear in the output anymore,
|
# If set, completions with the same name don't appear in the output anymore,
|
||||||
# but are in the `same_name_completions` attribute.
|
# but are in the `same_name_completions` attribute.
|
||||||
no_completion_duplicates = False
|
no_completion_duplicates = True
|
||||||
|
|
||||||
# ----------------
|
# ----------------
|
||||||
# parser
|
# parser
|
||||||
|
|||||||
Reference in New Issue
Block a user