diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2026-06-16 08:32:30 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2026-06-17 08:56:24 +0800 |
| commit | 62cb36927d2ec5211d0999ad8856c6a2194c7008 (patch) | |
| tree | 0eb08d318246d563534f46ea1f03e451ee5a2f52 /test/functional/vimscript/executable_spec.lua | |
| parent | 942778c7587ec51a772d01dcc891973a1aa9f618 (diff) | |
| download | rneovim-62cb36927d2ec5211d0999ad8856c6a2194c7008.tar.gz rneovim-62cb36927d2ec5211d0999ad8856c6a2194c7008.tar.bz2 rneovim-62cb36927d2ec5211d0999ad8856c6a2194c7008.zip | |
vim-patch:9.2.0651: completion: 'smartcase' doesn't work with 'longest'
Problem: With 'longest', 'smartcase' is ignored when filtering matches:
"inp" offers only "InputEvent", and an uppercase pattern gives
different results for CTRL-N and CTRL-P.
Solution: 'longest' rewrites the leader with the common prefix, picking
up uppercase the user never typed. Judge case from the typed
text instead, and match the auto-inserted part of the leader
case-insensitively so CTRL-N and CTRL-P give the same result.
(glepnir)
related: neovim/neovim#40259
closes: vim/vim#20533
https://github.com/vim/vim/commit/50fe45aca72af15952131241067c8e3a5bf71d23
Co-authored-by: glepnir <glephunter@gmail.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions