mirror of
https://github.com/davidhalter/jedi-vim.git
synced 2026-10-12 16:10:30 +08:00
Add a comment to clarify why we I used longest
This commit is contained in:
1 parent
8e0cefc371
commit
77924398bd
1 file changed
+4
@@ -579,6 +579,10 @@ function! jedi#complete_string(autocomplete) abort
|
||||
set completeopt+=noselect
|
||||
endif
|
||||
else
|
||||
" To pass the tests we use this, it seems to get the closest to
|
||||
" the other options. I'm really not sure if this properly
|
||||
" works, but VIM 7.4-775 is already pretty old, so it might not
|
||||
" be a problem anymore in a few years.
|
||||
set completeopt+=longest
|
||||
endif
|
||||
endif
|
||||
|
||||
Reference in new issue
Block a user