improvements to yank
This commit is contained in:
parent
1949d31e98
commit
2630d96e0b
1 changed files with 1 additions and 1 deletions
2
init.lua
2
init.lua
|
@ -82,7 +82,7 @@ else
|
|||
local highlight_group = vim.api.nvim_create_augroup("YankHighlight", { clear = true })
|
||||
vim.api.nvim_create_autocmd("TextYankPost", {
|
||||
callback = function()
|
||||
vim.highlight.on_yank()
|
||||
vim.highlight.on_yank({ higroup = "IncSearch", timeout = 1000 })
|
||||
end,
|
||||
group = highlight_group,
|
||||
pattern = "*",
|
||||
|
|
Loading…
Reference in a new issue