aboutsummaryrefslogtreecommitdiff
path: root/test/functional/lua/highlight_spec.lua
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2024-05-12 15:07:10 -0700
committerGitHub <noreply@github.com>2024-05-12 15:07:10 -0700
commitc7958356bef304320d86cd541d0de8db968c6cc8 (patch)
treea2e0e786f5f6b829ebb39b58e0e536ffd87c546c /test/functional/lua/highlight_spec.lua
parentd8b395b10fd033addef9765e30d9ab42e6cef264 (diff)
parent97c7646501d5cd6f57c57ce30acca89c5b8573ff (diff)
downloadrneovim-c7958356bef304320d86cd541d0de8db968c6cc8.tar.gz
rneovim-c7958356bef304320d86cd541d0de8db968c6cc8.tar.bz2
rneovim-c7958356bef304320d86cd541d0de8db968c6cc8.zip
Merge #28432 nvim_win_xx_ns are EXPERIMENTAL
Diffstat (limited to 'test/functional/lua/highlight_spec.lua')
-rw-r--r--test/functional/lua/highlight_spec.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/functional/lua/highlight_spec.lua b/test/functional/lua/highlight_spec.lua
index d47afa6164..c9f2d0a47f 100644
--- a/test/functional/lua/highlight_spec.lua
+++ b/test/functional/lua/highlight_spec.lua
@@ -43,9 +43,9 @@ describe('vim.highlight.on_yank', function()
vim.api.nvim_buf_set_mark(0,"]",1,1,{})
vim.highlight.on_yank({timeout = math.huge, on_macro = true, event = {operator = "y"}})
]])
- neq({}, api.nvim_win_get_ns(0))
+ neq({}, api.nvim__win_get_ns(0))
command('wincmd w')
- eq({}, api.nvim_win_get_ns(0))
+ eq({}, api.nvim__win_get_ns(0))
end)
it('removes old highlight if new one is created before old one times out', function()
@@ -55,7 +55,7 @@ describe('vim.highlight.on_yank', function()
vim.api.nvim_buf_set_mark(0,"]",1,1,{})
vim.highlight.on_yank({timeout = math.huge, on_macro = true, event = {operator = "y"}})
]])
- neq({}, api.nvim_win_get_ns(0))
+ neq({}, api.nvim__win_get_ns(0))
command('wincmd w')
exec_lua([[
vim.api.nvim_buf_set_mark(0,"[",1,1,{})
@@ -63,6 +63,6 @@ describe('vim.highlight.on_yank', function()
vim.highlight.on_yank({timeout = math.huge, on_macro = true, event = {operator = "y"}})
]])
command('wincmd w')
- eq({}, api.nvim_win_get_ns(0))
+ eq({}, api.nvim__win_get_ns(0))
end)
end)