aboutsummaryrefslogtreecommitdiff
path: root/test/functional
diff options
context:
space:
mode:
authorMatthieu Coudron <teto@users.noreply.github.com>2020-12-30 23:55:00 +0100
committerGitHub <noreply@github.com>2020-12-30 23:55:00 +0100
commite256777b5a1b241f965931188ed0b0a9dacefd13 (patch)
tree72e9b186dc9dca6e068df41c1878843a7ea521db /test/functional
parent28b7574c94b8a4140e60e76b06443da2a43b3251 (diff)
parent9c68aac37bc4d01e7bb41d71e4fcc1ab8b737bf3 (diff)
downloadrneovim-e256777b5a1b241f965931188ed0b0a9dacefd13.tar.gz
rneovim-e256777b5a1b241f965931188ed0b0a9dacefd13.tar.bz2
rneovim-e256777b5a1b241f965931188ed0b0a9dacefd13.zip
Merge pull request #13648 from teto/fix-fold-hl
adds a test to check syntax is taken into account in open folds
Diffstat (limited to 'test/functional')
-rw-r--r--test/functional/ui/searchhl_spec.lua5
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 |