fix: replace deprecated vim.loop and vim.highlight

This commit is contained in:
2026-09-21 10:22:27 +00:00
parent bbfa8117a0
commit 939357b363
3 changed files with 3 additions and 3 deletions

View File

@@ -66,7 +66,7 @@ vim.o.completeopt = "menuone,noselect,fuzzy,nosort"
vim.api.nvim_create_autocmd("TextYankPost", {
desc = "highlight when yanking text",
group = vim.api.nvim_create_augroup("CustomHighlightYank", { clear = true }),
callback = function() vim.highlight.on_yank() end,
callback = function() vim.hl.on_yank() end,
})
-- filetype overrides