aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/highlight_spec.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2022-02-24 16:50:05 +0000
committerGitHub <noreply@github.com>2022-02-24 09:50:05 -0700
commitb5bf4877c0239767c1095e4567e67c222bea38a0 (patch)
tree22d79eb25fa65c73a82f4f11c6ea183ec81fd22f /test/functional/api/highlight_spec.lua
parent73da7cef7b09181152cb71a9835148da68dd2e6d (diff)
downloadrneovim-b5bf4877c0239767c1095e4567e67c222bea38a0.tar.gz
rneovim-b5bf4877c0239767c1095e4567e67c222bea38a0.tar.bz2
rneovim-b5bf4877c0239767c1095e4567e67c222bea38a0.zip
feat(highlight): support for blend in nvim_set_hl (#17516)
Diffstat (limited to 'test/functional/api/highlight_spec.lua')
-rw-r--r--test/functional/api/highlight_spec.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/api/highlight_spec.lua b/test/functional/api/highlight_spec.lua
index 6924d41e0b..443689754c 100644
--- a/test/functional/api/highlight_spec.lua
+++ b/test/functional/api/highlight_spec.lua
@@ -323,5 +323,9 @@ describe("API: set highlight", function()
exec_capture('highlight Test_hl3'))
end
+ meths.set_hl(0, 'Test_hl3', {fg='#FF00FF', blend=50})
+ eq('Test_hl3 xxx guifg=#FF00FF blend=50',
+ exec_capture('highlight Test_hl3'))
+
end)
end)