aboutsummaryrefslogtreecommitdiff
path: root/autocommands.vim
diff options
context:
space:
mode:
authorjdhao <jdhao@hotmail.com>2020-09-22 13:34:03 +0800
committerGitHub <noreply@github.com>2020-09-22 13:34:03 +0800
commite2feb0c9f2e80a6a028ad8db39befb6bf23a2857 (patch)
tree3b0fc3d64c4e970d9f44ec8f217841d50dbebdd6 /autocommands.vim
parente2b32df47ffad7bae10e009dbfc56f676682b19a (diff)
update highlight group for yank to Search
highlight group IncSearch is a little bit dim. I want the yank highlight to be brighter
Diffstat (limited to 'autocommands.vim')
-rw-r--r--autocommands.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/autocommands.vim b/autocommands.vim
index 1a40a0f..c8e80ff 100644
--- a/autocommands.vim
+++ b/autocommands.vim
@@ -60,6 +60,6 @@ augroup END
" highlight yanked region, see `:h lua-highlight`
augroup highlight_yank
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
"}