mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
tests: check highlights work in open folds
to prevent a regression we just witnessed
This commit is contained in:
parent
61c9d2a213
commit
9c68aac37b
@ -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 |
|
||||||
|
Loading…
Reference in New Issue
Block a user