Merge pull request 'try new highlight yank setting' (#44) from push-xzqtupnwmksv into main
Reviewed-on: #44
This commit is contained in:
commit
7bf2da7dba
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 = "Search" })
|
||||
end,
|
||||
group = highlight_group,
|
||||
pattern = "*",
|
||||
|
|
Loading…
Add table
Reference in a new issue