Mercurial > vim
view src/testdir/test_comparators.vim @ 35232:da656ac4b30e v9.1.0428
patch 9.1.0428: Tag guessing leaves wrong search history with very short names
Commit: https://github.com/vim/vim/commit/42cd192daa4b7f29131c7be1beaecb6067e96266
Author: zeertzjq <zeertzjq@outlook.com>
Date: Tue May 21 17:19:58 2024 +0200
patch 9.1.0428: Tag guessing leaves wrong search history with very short names
Problem: Tag guessing leaves wrong search history with very short names
(after 9.1.0426).
Solution: Use the correct variable for pattern length (zeertzjq).
closes: #14817
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 21 May 2024 17:30:13 +0200 |
parents | 08940efa6b4e |
children |
line wrap: on
line source
" Test for comparators function Test_Comparators() try let oldisident=&isident set isident+=# call assert_equal(1, 1 is#1) finally let &isident=oldisident endtry endfunction " vim: shiftwidth=2 sts=2 expandtab