diff options
| author | zeertzjq <zeertzjq@outlook.com> | 2025-06-10 08:47:14 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-10 00:47:14 +0000 |
| commit | bcba067dc212942a84c8dacf79f00c7288436a2b (patch) | |
| tree | a15e0523a72253cf8e5ab5e1cef700cda2a60281 /runtime/lua/vim/provider/python.lua | |
| parent | 7a58cf4b962cdd7811723681d78e40a26ecb6218 (diff) | |
| download | rneovim-bcba067dc212942a84c8dacf79f00c7288436a2b.tar.gz rneovim-bcba067dc212942a84c8dacf79f00c7288436a2b.tar.bz2 rneovim-bcba067dc212942a84c8dacf79f00c7288436a2b.zip | |
vim-patch:9.1.1445: negative matchfuzzy scores although there is a match (#34409)
Problem: negative matchfuzzy scores although there is a match
(Maxim Kim)
Solution: reset the score if a match has been found but the score is
negative (Girish Palya)
The fuzzy algorithm may miss some matches in long strings due to recursion
limits. As a result, the score can end up negative even when matches exist.
In such cases, reset the score to ensure it is non-negative.
fixes: #vim/vim#17449
closes: vim/vim#17469
https://github.com/vim/vim/commit/328332b0b03ff6a709ed319b83429390ee8394d8
Co-authored-by: Girish Palya <girishji@gmail.com>
Diffstat (limited to 'runtime/lua/vim/provider/python.lua')
0 files changed, 0 insertions, 0 deletions