diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-05-09 06:30:59 +0800 |
|---|---|---|
| committer | zeertzjq <zeertzjq@outlook.com> | 2025-05-09 06:48:18 +0800 |
| commit | 15d31fe7a6c875eae82a2721941080586d89e876 (patch) | |
| tree | c53c69009d646a8bf63261e78dd7caeeaaaed84a /runtime/lua/vim/_extui.lua | |
| parent | 6b955af8755b416067733d862d1d341ef6bb9cb4 (diff) | |
| download | rneovim-15d31fe7a6c875eae82a2721941080586d89e876.tar.gz rneovim-15d31fe7a6c875eae82a2721941080586d89e876.tar.bz2 rneovim-15d31fe7a6c875eae82a2721941080586d89e876.zip | |
vim-patch:9.1.1374: completion: 'smartcase' not respected when filtering matches
Problem: Currently, 'smartcase' is respected when completing keywords
using <C-N>, <C-P>, <C-X><C-N>, and <C-X><C-P>. However, when
a user continues typing and the completion menu is filtered
using cached matches, 'smartcase' is not applied. This leads
to poor-quality or irrelevant completion suggestions, as shown
in the example below.
Solution: When filtering cached completion items after typing additional
characters, apply case-sensitive comparison if 'smartcase' is
enabled and the typed pattern includes uppercase characters.
This ensures consistent and expected completion behavior.
(Girish Palya)
closes: vim/vim#17271
https://github.com/vim/vim/commit/dc314053e121b0a995bdfbcdd2f03ce228e14eb3
Co-authored-by: Girish Palya <girishji@gmail.com>
Diffstat (limited to 'runtime/lua/vim/_extui.lua')
0 files changed, 0 insertions, 0 deletions