diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-09-24 01:12:42 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-09-24 01:12:42 +0200 |
commit | 8ad2f8c9afb308e7a8a1133f578e3352442f770a (patch) | |
tree | a7a05ed7c472f186d6380dd918e2318d6d951330 /fnl/plugins/editor/vim-slash.fnl | |
parent | fd69ec549594d53b9503212d93a9a44f10eef478 (diff) |
Restructure plugin configs
Diffstat (limited to 'fnl/plugins/editor/vim-slash.fnl')
-rw-r--r-- | fnl/plugins/editor/vim-slash.fnl | 8 |
1 files changed, 4 insertions, 4 deletions
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 <plug>(slash-after) zz"))} +(fn config [] + (vim.cmd "noremap <plug>(slash-after) zz")) + +{1 :junegunn/vim-slash :event :BufReadPost : config} |