From ab4d7b25ebbb6338bf44ada7ab1671ee14139962 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 7 Dec 2022 00:11:27 +0100 Subject: Fix yank highlighting --- fnl/config/autocmd.fnl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fnl/config/autocmd.fnl b/fnl/config/autocmd.fnl index 0c74fe8..2e3fee2 100644 --- a/fnl/config/autocmd.fnl +++ b/fnl/config/autocmd.fnl @@ -12,7 +12,8 @@ (create-autocmd :TextYankPost {:callback (lambda [] - (vim.highlight.on_yank {:timeout 200}))}) + (vim.highlight.on_yank {:higroup :Visual + :timeout 200}))}) (create-autocmd :BufWinEnter {:command "setlocal formatoptions-=cro"}) -- cgit v1.2.3-70-g09d2