add new plugins

This commit is contained in:
Lorran David 2025-01-04 18:11:13 -03:00
parent d6ad2d0ef7
commit 4bce08bc22
13 changed files with 479 additions and 322 deletions

View file

@ -0,0 +1,8 @@
vim.api.nvim_create_autocmd("TextYankPost", {
group = vim.api.nvim_create_augroup("highlight_yank", { clear = true }),
pattern = "*",
desc = "Highlight selection on yank",
callback = function()
vim.highlight.on_yank({ timeout = 200, visual = true })
end,
})