My current yank highlighting color is ugly orange.
I want to chenge that but searching through the documentation I can’t
find any options determining it’s color.
Below is my configuration for yank highlighting.
~/.config/nvim/plugin/options.lua
...
local highlight_yank = vim.api.nvim_create_augroup("highlight_yank", { clear = true })
vim.api.nvim_create_autocmd("TextYankPost", {
pattern = "*",
callback = function()
vim.highlight.on_yank({ higroup = "IncSearch", timeout = 100 })
end,
group = highlight_yank,
})