]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.2.0887: searchcount().exact_match is 1 right after a match v8.2.0887
authorBram Moolenaar <Bram@vim.org>
Tue, 2 Jun 2020 20:06:21 +0000 (22:06 +0200)
committerBram Moolenaar <Bram@vim.org>
Tue, 2 Jun 2020 20:06:21 +0000 (22:06 +0200)
commit57f75a5a364ad4d8334fdf6b6b41420b48e08390
treef60d4d46d30a929e97e2997ee396db5f20f206ca
parentc17e66c5c0acd5038f1eb3d7b3049b64bb6ea30b
patch 8.2.0887: searchcount().exact_match is 1 right after a match

Problem:    Searchcount().exact_match is 1 right after a match.
Solution:   Use LT_POS() instead of LTOREQ_POS(). (closes #6189)
src/search.c
src/testdir/test_search_stat.vim
src/version.c