mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
update highlight group for yank to Search
highlight group IncSearch is a little bit dim. I want the yank highlight to be brighter
This commit is contained in:
parent
e2b32df47f
commit
e2feb0c9f2
@ -60,6 +60,6 @@ augroup END
|
|||||||
" highlight yanked region, see `:h lua-highlight`
|
" highlight yanked region, see `:h lua-highlight`
|
||||||
augroup highlight_yank
|
augroup highlight_yank
|
||||||
autocmd!
|
autocmd!
|
||||||
au TextYankPost * silent! lua vim.highlight.on_yank{higroup="IncSearch", timeout=700}
|
au TextYankPost * silent! lua vim.highlight.on_yank{higroup="Search", timeout=700}
|
||||||
augroup END
|
augroup END
|
||||||
"}
|
"}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user