From 2ed7bbf5daecbb174d731396be5ffc0e9929908f 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 --- plugin/jedi.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/jedi.vim b/plugin/jedi.vim index 0b0f722d..e43c0dca 100644 --- a/plugin/jedi.vim +++ b/plugin/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),