mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
tests: check highlights work in open folds
to prevent a regression we just witnessed
This commit is contained in:
@@ -480,6 +480,11 @@ describe('search highlighting', function()
|
|||||||
{4:search hit BOTTOM, continuing at TOP} |
|
{4:search hit BOTTOM, continuing at TOP} |
|
||||||
]])
|
]])
|
||||||
|
|
||||||
|
-- check hilights work also in folds
|
||||||
|
feed("zf4j")
|
||||||
|
command("%foldopen")
|
||||||
|
screen:expect_unchanged()
|
||||||
|
|
||||||
feed_command("call clearmatches()")
|
feed_command("call clearmatches()")
|
||||||
screen:expect([[
|
screen:expect([[
|
||||||
very spec{2:^ial te}xt |
|
very spec{2:^ial te}xt |
|
||||||
|
|||||||
Reference in New Issue
Block a user