mirror of
https://github.com/neovim/neovim.git
synced 2025-10-26 12:27:24 +00:00
refactor(api): rename nvim_win_remove_ns
Problem: nvim_win_remove_ns does not follow `help dev-naming` API naming conventions. Solution: Rename it.
This commit is contained in:
@@ -141,7 +141,7 @@ function M.on_yank(opts)
|
||||
yank_timer = nil
|
||||
yank_cancel = nil
|
||||
pcall(vim.api.nvim_buf_clear_namespace, bufnr, yank_ns, 0, -1)
|
||||
pcall(vim.api.nvim_win_remove_ns, winid, yank_ns)
|
||||
pcall(vim.api.nvim_win_del_ns, winid, yank_ns)
|
||||
end
|
||||
|
||||
yank_timer = vim.defer_fn(yank_cancel, timeout)
|
||||
|
||||
Reference in New Issue
Block a user