From ac8edfb0db52efe65e01f73ef44133a86571ba02 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Fri, 17 Apr 2026 23:34:22 +0200 Subject: More based fixes --- fnl/plugins/harpoon.fnl | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'fnl/plugins/harpoon.fnl') diff --git a/fnl/plugins/harpoon.fnl b/fnl/plugins/harpoon.fnl index 29f41d0..c4c7975 100644 --- a/fnl/plugins/harpoon.fnl +++ b/fnl/plugins/harpoon.fnl @@ -12,17 +12,16 @@ (: (harpoon:list) :select nr))) (λ init [] - (user-cmds - [:HarpoonAdd - (λ [] - (let [harpoon (require :harpoon)] - (: (harpoon:list) :add))) - {:nargs 0}] - [:HarpoonUI - (λ [] - (let [harpoon (require :harpoon)] - (harpoon.ui:toggle_quick_menu (harpoon:list) opts))) - {:nargs 0}])) + (user-cmds [:HarpoonAdd + (λ [] + (let [harpoon (require :harpoon)] + (: (harpoon:list) :add))) + {:nargs 0}] + [:HarpoonUI + (λ [] + (let [harpoon (require :harpoon)] + (harpoon.ui:toggle_quick_menu (harpoon:list) opts))) + {:nargs 0}])) (local keys [{1 :ma 2 :HarpoonAdd :desc :Harpoon} {1 :mr 2 :HarpoonUI :desc "Harpoon UI"} -- cgit v1.2.3-70-g09d2