summaryrefslogtreecommitdiff
path: root/fnl/config/autocmd.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-07 23:23:59 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-07 23:23:59 +0200
commit936272fc2a5ae07470816d1b63f79bfadb3ef979 (patch)
treee040dcaf94b2199664847bf6521621538f316399 /fnl/config/autocmd.fnl
parent143d0de99399e9d6b4779ebd91a1cbcee5df5dd5 (diff)
fix: typo bugs
Diffstat (limited to 'fnl/config/autocmd.fnl')
-rw-r--r--fnl/config/autocmd.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fnl/config/autocmd.fnl b/fnl/config/autocmd.fnl
index 77d20c4..e5bf556 100644
--- a/fnl/config/autocmd.fnl
+++ b/fnl/config/autocmd.fnl
@@ -13,7 +13,7 @@
(util.autocmd
:TextYankPost
{:pattern [ :* ]
- :command "silent!lua require('vim.highlight').on_yank({higroup = 'Search', timeout = 200}"
+ :callback (lambda [] (vim.highlight.on_yank {:timeout 200})
:group :_general_settings})
(util.autocmd