Modernize deprecated Neovim APIs
vim.loop -> vim.uv and vim.highlight.range -> vim.hl.range. Also drop the completeopt comment referring to nvim-cmp, which blink.cmp replaced. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
+1
-1
@@ -40,7 +40,7 @@ M.simulate_yank_highlight = function()
|
||||
local bounds = M.get_visual_bounds()
|
||||
|
||||
local ns = vim.api.nvim_create_namespace("simulate_yank_highlight")
|
||||
vim.highlight.range(
|
||||
vim.hl.range(
|
||||
0,
|
||||
ns,
|
||||
"IncSearch",
|
||||
|
||||
Reference in New Issue
Block a user