aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_search_stat.vim
Commit message (Collapse)AuthorAge
* test: move oldtests to test directory (#22536)dundargoc2023-03-07
| | | | | The new oldtest directory is in test/old/testdir. The reason for this is that many tests have hardcoded the parent directory name to be 'testdir'.
* vim-patch:9.0.1270: crash when using search stat in narrow screen (#22078)zeertzjq2023-02-01
| | | | | | Problem: Crash when using search stat in narrow screen. Solution: Check length of message. (closes vim/vim#11921) https://github.com/vim/vim/commit/a7d36b732070944aab614944075ec0b409311482
* vim-patch:8.2.1736: failure to compile a pattern not tested muchzeertzjq2022-11-06
| | | | | | | | Problem: Failure to compile a pattern not tested much. Solution: Add tests where a pattern fails to compile. (Yegappan Lakshmanan, closes vim/vim#7004) https://github.com/vim/vim/commit/531be47ac5522807b265c6287021a01c9b895ac9
* vim-patch:8.2.4378: incsearch HL broken when calling searchcount in ↵zeertzjq2022-06-29
| | | | | | | | | 'tabLine' (#19147) Problem: Incsearch highlight broken when calling searchcount() in 'tabLine' function. (Mirko Palmer) Solution: Save and restore the incsearch state. (Christian Brabandt, closes vim/vim#9763, closes vim/vim#9633) https://github.com/vim/vim/commit/6dd7424c7e6ab81998c29ca3526c41b75cfde5a1
* vim-patch:8.2.3583: the "gd" and "gD" commands do not update search statszeertzjq2022-02-04
| | | | | | | Problem: The "gd" and "gD" commands do not update search stats. (Gary Johnson) Solution: Clear search stats. https://github.com/vim/vim/commit/0c71114aede81a209b7efc126b4bf19f11d58955
* test(old): fix test order in test_search_stat.vimzeertzjq2022-02-04
| | | | Also avoid unnecessary divergences from upstream and add a modeline.
* vim-patch:8.2.0951: search stat test has leftover from debugging (#16967)zeertzjq2022-01-06
| | | | | Problem: Search stat test has leftover from debugging. Solution: Remove line that writes a file. (Christian Brabandt, closes vim/vim#6224) https://github.com/vim/vim/commit/6ba24d87630b1ec2b8c7ff71550c9e41d143800e
* vim-patch:8.2.0896: crash when calling searchcount() with a stringshadmansaleh2021-05-09
| | | | | | Problem: Crash when calling searchcount() with a string. Solution: Check the argument is a dict. (closes vim/vim#6192) https://github.com/vim/vim/commit/14681627f39421cce289345d4ec9927c10fa3b1c
* vim-patch:8.2.0887: searchcount().exact_match is 1 right after a matchshadmansaleh2021-05-09
| | | | | | Problem: Searchcount().exact_match is 1 right after a match. Solution: Use LT_POS() instead of LTOREQ_POS(). (closes vim/vim#6189) https://github.com/vim/vim/commit/57f75a5a364ad4d8334fdf6b6b41420b48e08390
* vim-patch:8.2.0884: searchcount() test fails on slower systemsshadmansaleh2021-05-09
| | | | | | Problem: Searchcount() test fails on slower systems. Solution: Set a longer timeout. https://github.com/vim/vim/commit/ea6561af92eeb26fa0b4966575da7cadd98af1cd
* vim-patch:8.2.0877: cannot get the search statisticsshadmansaleh2021-05-09
| | | | | | | | | | | | Problem: Cannot get the search statistics. Solution: Add the searchcount() function. (Fujiwara Takuya, closes vim/vim#4446) https://github.com/vim/vim/commit/e8f5ec0d30b629d7166f0ad03434065d8bc822df Additional changes: - Tests weren't passing because the test ran assuming the cursor was at start of buffer but append() left the cursor at end of buffer . So cursor is moved to start of buffer after append. - searchcount() added to list of builtin functions.
* vim-patch:8.2.0840: search match count wrong when only match is in foldJan Edmund Lazo2020-09-29
| | | | | | | Problem: Search match count wrong when only match is in fold. Solution: Update search stats when in a closed fold. (Christian Brabandt, closes vim/vim#6160, closes vim/vim#6152) https://github.com/vim/vim/commit/6cb0726215519fe94103803e4aa77a355384bcf2
* vim-patch:8.1.1992: the search stat moves when wrapping at the end of the bufferJan Edmund Lazo2020-09-29
| | | | | | Problem: The search stat moves when wrapping at the end of the buffer. Solution: Put the "W" in front instead of at the end. https://github.com/vim/vim/commit/16b58ae9f36e9675c34d942f5d5f8c8a7914dbc4
* vim-patch:8.1.1980: fix for search stat not testedJan Edmund Lazo2020-09-29
| | | | | | Problem: Fix for search stat not tested. Solution: Add a screenshot test. (Christian Brabandt) https://github.com/vim/vim/commit/0f63ed33fdd12d8220f7bc7ff91095e7ceed9985
* vim-patch:8.1.1970: search stat space wrong, no test for 8.1.1965Jan Edmund Lazo2020-09-29
| | | | | | Problem: Search stat space wrong, no test for 8.1.1965. Solution: Fix check for cmd_silent. Add a test. (Christian Brabandt) https://github.com/vim/vim/commit/19e8ac72e9c17b894a9c74cb8f70feb33567033c
* vim-patch:8.2.0902: using searchcount() in 'statusline' causes an errorJan Edmund Lazo2020-09-13
| | | | | | | Problem: Using searchcount() in 'statusline' causes an error. Solution: Avoid saving/restoring the search patten recursively. (closes vim/vim#6194) https://github.com/vim/vim/commit/442a85369f3eb9834dbab42add45f7c4106700f4
* vim-patch:8.1.1375: without "TS" in 'shortmess' get a hit-enter prompt oftenerw72019-06-07
| | | | | | | Problem: Without "TS" in 'shortmess' get a hit-enter prompt often. Solution: Always truncate the search message. Also avoid putting it in the message history. (closes vim/vim#4413) https://github.com/vim/vim/commit/984f031fb02fe301a8dbf8a35b871c9f60b8f61e
* vim-patch:8.1.1390: search stats are off when using count or offseterw72019-06-05
| | | | | | Problem: Search stats are off when using count or offset. Solution: Recompute the stats when needed. (Masato Nishihata, closes vim/vim#4410) https://github.com/vim/vim/commit/8f46e4c4bde13fd5ad68a6670b79cc462b65fbec
* vim-patch:8.1.1350: "W" for wrapping not shown when more than 99 matcheserw72019-06-05
| | | | | | Problem: "W" for wrapping not shown when more than 99 matches. Solution: Adjust check for length. (Masato Nishihata, closes vim/vim#4388) https://github.com/vim/vim/commit/dc6855af974f2ef553aceee619fadcb858e25d39
* vim-patch:8.1.1288: search stats don't show for mapped commanderw72019-06-05
| | | | | | | Problem: Search stats don't show for mapped command. Solution: Remove SEARCH_PEEK from searchit flags. Add a test. (Christian Brabandt) https://github.com/vim/vim/commit/9ce3fa828d238ff28d57b0092bb37575e20010ec
* vim-patch:8.1.1283: delaying half a second after the top-bot messageerw72019-06-05
| | | | | | Problem: Delaying half a second after the top-bot message. Solution: Instead of the delay add "W" to the search count. https://github.com/vim/vim/commit/c7a10b35de70471519d104a74d402c63557f0512
* vim-patch:8.1.1270: cannot see current match positionerw72019-06-05
Problem: Cannot see current match position. Solution: Show "3/44" when using the "n" command and "S" is not in 'shortmess'. (Christian Brabandt, closes vim/vim#4317) https://github.com/vim/vim/commit/9dfa3139198b38b28673e251a3756430065914e9