diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-09-23 22:04:59 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-09-23 22:04:59 +0200 |
commit | 6dcd88cde5825573a3732e8b18f7d663ca47495b (patch) | |
tree | 10edd9981f7d26afa0dd86ad7fa8e1c37db34e5b /fnl/plugins/editor/leap.fnl | |
parent | cc8adce9d8a7dd63bc639b3e2d3e71d82ee1713f (diff) |
Rename setup to config
Diffstat (limited to 'fnl/plugins/editor/leap.fnl')
-rw-r--r-- | fnl/plugins/editor/leap.fnl | 5 |
1 files changed, 2 insertions, 3 deletions
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} |