1
0
forked from VimPlug/jedi

the bool variable of #97 was defined wrong, fixes #97

This commit is contained in:
David Halter
2012-12-29 20:07:45 +01:00
parent 968f9bdf60
commit 86f37261a2
2 changed files with 2 additions and 2 deletions

View File

@@ -157,7 +157,7 @@ class Script(object):
new = api_classes.Completion(c, needs_dot,
len(like), s)
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)
else:
comp_dct[k] = new