summaryrefslogtreecommitdiff
path: root/fnl/config/leap.fnl
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/config/leap.fnl')
-rw-r--r--fnl/config/leap.fnl17
1 files changed, 3 insertions, 14 deletions
diff --git a/fnl/config/leap.fnl b/fnl/config/leap.fnl
index cb6a267..541b0e0 100644
--- a/fnl/config/leap.fnl
+++ b/fnl/config/leap.fnl
@@ -1,19 +1,8 @@
;; Leap through text.
-(module config.leap {autoload {: util nvim aniseed.nvim}})
+(module config.leap {autoload {:util :config.util nvim aniseed.nvim}})
-(def- opts {:max_aot_targets nil
- :highlight_unlabeled false
- :max_highlighted_traversal_targets 10
- :case_sensitive false
- :equivalence_classes [" \t\r\n"]
- :substitute_chars []
- :special_keys {:repeat_search :<enter>
- :next_aot_match :<enter>
- :next_match [";" :<enter>]
- :prev_match ["," :<tab>]
- :next_group :<space>
- :prev_group :<tab>}})
+(def- opts {})
-(let [leap (util.load-plugin :leap)]
+(let [leap (util.prequire :leap)]
(leap.setup opts)
(leap.set_default_keymaps))