Merge pull request 'highlight delay updated for vscode yank' () from push-xxtqtnyxntzn into main

Reviewed-on: 
This commit is contained in:
Salar Rahmanian 2025-03-01 06:09:10 -08:00
commit e609be9239

View file

@ -10,7 +10,7 @@ vim.g.maplocalleader = " "
vim.api.nvim_set_hl(0, "YankHighlight", { bg = "#d19a66" })
vim.api.nvim_create_autocmd("TextYankPost", {
callback = function()
vim.highlight.on_yank({ higroup = "YankHighlight", timeout = 1000 })
vim.highlight.on_yank({ higroup = "YankHighlight", timeout = 200 })
end,
pattern = "*",
})