diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-12-07 00:11:27 +0100 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-12-07 00:11:27 +0100 |
commit | ab4d7b25ebbb6338bf44ada7ab1671ee14139962 (patch) | |
tree | 2e55913ee83a6e13304032167309fa3ec3e2325b | |
parent | 0607b1d6a930013d1a7f471da61ac33cad4814c0 (diff) |
Fix yank highlighting
-rw-r--r-- | fnl/config/autocmd.fnl | 3 |
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"}) |