mirror of
https://github.com/softinio/nvim-config.git
synced 2025-09-03 16:16:42 -07:00
updates to avante and vscode yank settings
This commit is contained in:
parent
06c8cbb173
commit
c5f6c48249
3 changed files with 25 additions and 2 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({ higroup = "IncSearch", timeout = 1000 })
|
||||
vim.highlight.on_yank()
|
||||
end,
|
||||
group = highlight_group,
|
||||
pattern = "*",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue