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:
2026-07-31 12:27:20 -04:00
co-authored by Claude Opus 5
parent afd5c22140
commit 4d942a5368
3 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -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",