mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2025-12-07 03:04:30 +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)
|
||||
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),
|
||||
|
||||
Reference in New Issue
Block a user