From 6dcd88cde5825573a3732e8b18f7d663ca47495b Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 23 Sep 2023 22:04:59 +0200 Subject: Rename setup to config --- fnl/plugins/editor/leap.fnl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'fnl/plugins/editor/leap.fnl') diff --git a/fnl/plugins/editor/leap.fnl b/fnl/plugins/editor/leap.fnl index 6c2eb53..f6d820e 100644 --- a/fnl/plugins/editor/leap.fnl +++ b/fnl/plugins/editor/leap.fnl @@ -1,6 +1,6 @@ ;; Leap through text. -(fn setup [] +(fn config [] (let [leap (require :leap)] (leap.setup {}) (leap.set_default_keymaps))) @@ -13,5 +13,4 @@ :multiline true :opts {}}} :event :BufReadPost - :config (fn [] - (setup))} + : config} -- cgit v1.2.3-70-g09d2