diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-05-28 16:28:10 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-28 16:28:10 +0800 |
commit | f29acc507305a7f4323a3233dc3867dfbe00132b (patch) | |
tree | 1d196b1f27137ac132a0703c535ab722174a6c9a /test/functional/ui/highlight_spec.lua | |
parent | ddd92a70d2aab5247895e89abaaa79c62ba7dbb4 (diff) | |
download | rneovim-f29acc507305a7f4323a3233dc3867dfbe00132b.tar.gz rneovim-f29acc507305a7f4323a3233dc3867dfbe00132b.tar.bz2 rneovim-f29acc507305a7f4323a3233dc3867dfbe00132b.zip |
test(extmarks): add tests for #14201 #20004 #20885 (#23794)
Diffstat (limited to 'test/functional/ui/highlight_spec.lua')
-rw-r--r-- | test/functional/ui/highlight_spec.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/ui/highlight_spec.lua b/test/functional/ui/highlight_spec.lua index 9a4be4573c..c68f4cf34c 100644 --- a/test/functional/ui/highlight_spec.lua +++ b/test/functional/ui/highlight_spec.lua @@ -426,7 +426,7 @@ describe('highlight', function() ^ | {2:~ }| | - ]],{ + ]], { [1] = {strikethrough = true}, [2] = {bold = true, foreground = Screen.colors.Blue1}, }) @@ -515,7 +515,7 @@ describe('highlight', function() {1:neovim} tabbed^ | {0:~ }| {5:-- INSERT --} | - ]],{ + ]], { [0] = {bold=true, foreground=Screen.colors.Blue}, [1] = {background = Screen.colors.Yellow, foreground = Screen.colors.Red, special = Screen.colors.Red}, @@ -527,7 +527,7 @@ describe('highlight', function() end) - it("'diff', syntax and extmark", function() + it("'diff', syntax and extmark #23722", function() local screen = Screen.new(25,10) screen:attach() exec([[ @@ -549,7 +549,7 @@ describe('highlight', function() {4:~ }| {8:[No Name] }| | - ]],{ + ]], { [0] = {Screen.colors.WebGray, foreground = Screen.colors.DarkBlue}, [1] = {background = Screen.colors.Grey, foreground = Screen.colors.Blue4}, [2] = {foreground = Screen.colors.Red, background = Screen.colors.LightBlue}, |