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/which-key.fnl | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'fnl/plugins/editor/which-key.fnl') diff --git a/fnl/plugins/editor/which-key.fnl b/fnl/plugins/editor/which-key.fnl index 84197d7..962183e 100644 --- a/fnl/plugins/editor/which-key.fnl +++ b/fnl/plugins/editor/which-key.fnl @@ -37,15 +37,11 @@ :o {:name :+orgmode} :r {:name :+replace} :s {:name :+session} - :w {:name :+worktree} - }) + :w {:name :+worktree}}) -(fn setup [] +(fn config [] (let [which-key (require :which-key)] (which-key.setup opts) (which-key.register groups))) -{1 :folke/which-key.nvim - :event :VeryLazy - :config (fn [] - (setup))} +{1 :folke/which-key.nvim :event :VeryLazy : config} -- cgit v1.2.3-70-g09d2