summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-12-07 00:11:27 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-12-07 00:11:27 +0100
commitab4d7b25ebbb6338bf44ada7ab1671ee14139962 (patch)
tree2e55913ee83a6e13304032167309fa3ec3e2325b /fnl/config
parent0607b1d6a930013d1a7f471da61ac33cad4814c0 (diff)
Fix yank highlighting
Diffstat (limited to 'fnl/config')
-rw-r--r--fnl/config/autocmd.fnl3
1 files changed, 2 insertions, 1 deletions
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"})