]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0963: fuzzy-matching does not prefer full match v9.1.0963
authorglepnir <glephunter@gmail.com>
Thu, 26 Dec 2024 14:38:39 +0000 (15:38 +0100)
committerChristian Brabandt <cb@256bit.org>
Thu, 26 Dec 2024 14:46:56 +0000 (15:46 +0100)
commit5a04999a7402201cf1b47ff10bc474dd1cdc24f4
treefaf13fd9fac0851fdced4f0b0eba50d864dba83a
parentf07ae5b3bdb7331ee0e65adcb74402eef74f0a2b
patch 9.1.0963: fuzzy-matching does not prefer full match

Problem:  fuzzy-matching does not prefer full match
          (Maxim Kim)
Solution: add additional score for a full match
          (glepnir)

fixes: #15654
closes: #16300

Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/pattern.txt
src/search.c
src/testdir/test_matchfuzzy.vim
src/version.c