From 5e98626c7454ac31243c90c2d3371b748ac254e2 Mon Sep 17 00:00:00 2001 From: David Halter Date: Sat, 1 Sep 2012 00:06:01 +0200 Subject: [PATCH] fixed a bug that caused case insensitive values not to swap in some cases --- jedi.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jedi.vim b/jedi.vim index 0b0f722..e43c0dc 100644 --- a/jedi.vim +++ b/jedi.vim @@ -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),