diff options
author | Matthieu Coudron <mcoudron@hotmail.com> | 2020-12-30 23:31:05 +0100 |
---|---|---|
committer | Matthieu Coudron <mcoudron@hotmail.com> | 2020-12-30 23:32:40 +0100 |
commit | 9c68aac37bc4d01e7bb41d71e4fcc1ab8b737bf3 (patch) | |
tree | 80e7e5fd2ecef2ec1bc6ddb3a02cc09057151fe2 | |
parent | 61c9d2a213bf4259dfa449c00d93907480accab0 (diff) | |
download | rneovim-9c68aac37bc4d01e7bb41d71e4fcc1ab8b737bf3.tar.gz rneovim-9c68aac37bc4d01e7bb41d71e4fcc1ab8b737bf3.tar.bz2 rneovim-9c68aac37bc4d01e7bb41d71e4fcc1ab8b737bf3.zip |
tests: check highlights work in open folds
to prevent a regression we just witnessed
-rw-r--r-- | test/functional/ui/searchhl_spec.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/ui/searchhl_spec.lua b/test/functional/ui/searchhl_spec.lua index 3bb72303bf..740126df31 100644 --- a/test/functional/ui/searchhl_spec.lua +++ b/test/functional/ui/searchhl_spec.lua @@ -480,6 +480,11 @@ describe('search highlighting', function() {4:search hit BOTTOM, continuing at TOP} | ]]) + -- check hilights work also in folds + feed("zf4j") + command("%foldopen") + screen:expect_unchanged() + feed_command("call clearmatches()") screen:expect([[ very spec{2:^ial te}xt | |