fixed a bug that caused case insensitive values not to swap in some cases

This commit is contained in:
David Halter
2012-09-01 00:06:01 +02:00
parent 719e9fb9a6
commit 5e98626c74

View File

@@ -48,7 +48,7 @@ if 1:
completions = functions.complete(source, row, column, buf_path)
out = []
for c in completions:
d = dict(word=base + c.complete,
d = dict(word=c.word[:len(base)] + c.complete,
abbr=c.word,
# stuff directly behind the completion
menu=PythonToVimStr(c.description),