mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 19:24:36 +08:00
fixed a bug that caused case insensitive values not to swap in some cases
This commit is contained in:
2
jedi.vim
2
jedi.vim
@@ -48,7 +48,7 @@ if 1:
|
|||||||
completions = functions.complete(source, row, column, buf_path)
|
completions = functions.complete(source, row, column, buf_path)
|
||||||
out = []
|
out = []
|
||||||
for c in completions:
|
for c in completions:
|
||||||
d = dict(word=base + c.complete,
|
d = dict(word=c.word[:len(base)] + c.complete,
|
||||||
abbr=c.word,
|
abbr=c.word,
|
||||||
# stuff directly behind the completion
|
# stuff directly behind the completion
|
||||||
menu=PythonToVimStr(c.description),
|
menu=PythonToVimStr(c.description),
|
||||||
|
|||||||
Reference in New Issue
Block a user