aboutsummaryrefslogtreecommitdiff
path: root/test/functional/ui/decorations_spec.lua
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-03-15 09:58:39 +0100
committerBjörn Linse <bjorn.linse@gmail.com>2021-03-15 09:58:39 +0100
commitbb6d2c9b7c92150c631068fcc0221fabb50aae5c (patch)
treeb5bed1d8a6e3c8bea469350e901e639dc88bd709 /test/functional/ui/decorations_spec.lua
parentf5daf55c10435930883c0c9b1aa1e035bef78443 (diff)
downloadrneovim-bb6d2c9b7c92150c631068fcc0221fabb50aae5c.tar.gz
rneovim-bb6d2c9b7c92150c631068fcc0221fabb50aae5c.tar.bz2
rneovim-bb6d2c9b7c92150c631068fcc0221fabb50aae5c.zip
api: destabilize nvim_set_hl_ns
The sematics and signature of this API is going to change, but we don't wanna delay 0.5 for it. Mark API as unstable for now.
Diffstat (limited to 'test/functional/ui/decorations_spec.lua')
-rw-r--r--test/functional/ui/decorations_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/ui/decorations_spec.lua b/test/functional/ui/decorations_spec.lua
index 6cf549909a..7f4ab3ee5d 100644
--- a/test/functional/ui/decorations_spec.lua
+++ b/test/functional/ui/decorations_spec.lua
@@ -179,7 +179,7 @@ describe('decorations providers', function()
|
]]}
- meths.set_hl_ns(ns1)
+ meths._set_hl_ns(ns1)
screen:expect{grid=[[
{10: 1 }{11:// just to see if there was an accid}|
{10: }{11:ent} |
@@ -205,7 +205,7 @@ describe('decorations providers', function()
local ns2 = a.nvim_create_namespace 'ns2'
a.nvim_set_decoration_provider (ns2, {
on_win = function (_, win, buf)
- a.nvim_set_hl_ns(win == thewin and _G.ns1 or ns2)
+ a.nvim__set_hl_ns(win == thewin and _G.ns1 or ns2)
end;
})
]]
@@ -252,7 +252,7 @@ describe('decorations providers', function()
]]}
meths.set_hl(ns1, 'LinkGroup', {fg = 'Blue'})
- meths.set_hl_ns(ns1)
+ meths._set_hl_ns(ns1)
screen:expect{grid=[[
// just to see if there was an accident |
@@ -288,7 +288,7 @@ describe('decorations providers', function()
]]}
meths.set_hl(ns1, 'LinkGroup', {fg = 'Blue', default=true})
- meths.set_hl_ns(ns1)
+ meths._set_hl_ns(ns1)
feed 'k'
screen:expect{grid=[[