From 8ad2f8c9afb308e7a8a1133f578e3352442f770a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 24 Sep 2023 01:12:42 +0200 Subject: Restructure plugin configs --- fnl/plugins/editor/vim-slash.fnl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'fnl/plugins/editor/vim-slash.fnl') diff --git a/fnl/plugins/editor/vim-slash.fnl b/fnl/plugins/editor/vim-slash.fnl index 6f50ae4..e638d73 100644 --- a/fnl/plugins/editor/vim-slash.fnl +++ b/fnl/plugins/editor/vim-slash.fnl @@ -1,6 +1,6 @@ ;; Provides a set of mappings for enhancing in-buffer search experience. -{1 :junegunn/vim-slash - :event :BufReadPost - :config (fn [] - (vim.cmd "noremap (slash-after) zz"))} +(fn config [] + (vim.cmd "noremap (slash-after) zz")) + +{1 :junegunn/vim-slash :event :BufReadPost : config} -- cgit v1.2.3-70-g09d2