aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-03-15 10:55:40 +0100
committerGitHub <noreply@github.com>2021-03-15 10:55:40 +0100
commitff749e32137ac98737be8b231da8c47d773cdfba (patch)
treeb5bed1d8a6e3c8bea469350e901e639dc88bd709 /test
parentf5daf55c10435930883c0c9b1aa1e035bef78443 (diff)
parentbb6d2c9b7c92150c631068fcc0221fabb50aae5c (diff)
downloadrneovim-ff749e32137ac98737be8b231da8c47d773cdfba.tar.gz
rneovim-ff749e32137ac98737be8b231da8c47d773cdfba.tar.bz2
rneovim-ff749e32137ac98737be8b231da8c47d773cdfba.zip
Merge pull request #14142 from bfredl/un_ns
api: destabilize nvim_set_hl_ns
Diffstat (limited to 'test')
-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=[[