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/leap.fnl | |
parent | fd69ec549594d53b9503212d93a9a44f10eef478 (diff) |
Restructure plugin configs
Diffstat (limited to 'fnl/plugins/editor/leap.fnl')
-rw-r--r-- | fnl/plugins/editor/leap.fnl | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/fnl/plugins/editor/leap.fnl b/fnl/plugins/editor/leap.fnl index f6d820e..0ea27fd 100644 --- a/fnl/plugins/editor/leap.fnl +++ b/fnl/plugins/editor/leap.fnl @@ -1,16 +1,15 @@ ;; Leap through text. +(local dependencies {1 :ggandor/flit.nvim + :event :BufReadPost + :opts {:keys {:f :f :F :F :t :t :T :T} + :labeled_modes :v + :multiline true + :opts {}}}) + (fn config [] (let [leap (require :leap)] (leap.setup {}) (leap.set_default_keymaps))) -{1 :ggandor/leap.nvim - :dependencies {1 :ggandor/flit.nvim - :event :BufReadPost - :opts {:keys {:f :f :F :F :t :t :T :T} - :labeled_modes :v - :multiline true - :opts {}}} - :event :BufReadPost - : config} +{1 :ggandor/leap.nvim : dependencies :event :BufReadPost : config} |