aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2026-06-08 13:27:20 +0800
committerGitHub <noreply@github.com>2026-06-08 05:27:20 +0000
commit3f37b230af914906084fd21d1c630ecf3fb30862 (patch)
treecb377928f87a1b34bcb09ac6241d26f32a514b8e /test/functional/vimscript/executable_spec.lua
parent9aa33a37d89c0282f47044b21ce91ffd61cdfe70 (diff)
downloadrneovim-3f37b230af914906084fd21d1c630ecf3fb30862.tar.gz
rneovim-3f37b230af914906084fd21d1c630ecf3fb30862.tar.bz2
rneovim-3f37b230af914906084fd21d1c630ecf3fb30862.zip
vim-patch:9.2.0601: matchfuzzypos() returns garbage positions for long candidates (#40140)
Problem: A needle that only matches past char 1024 gives an INT_MIN + 1 score with unset positions, e.g. matchfuzzypos([repeat('a',1024)..'z'], 'az'). Solution: Drop the candidate when match_positions() returns SCORE_MIN. closes: vim/vim#20435 https://github.com/vim/vim/commit/52003f7fc11e8fffa4cc8b0969282224a8b9a52e
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions