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/which-key.fnl | |
parent | cc8adce9d8a7dd63bc639b3e2d3e71d82ee1713f (diff) |
Rename setup to config
Diffstat (limited to 'fnl/plugins/editor/which-key.fnl')
-rw-r--r-- | fnl/plugins/editor/which-key.fnl | 10 |
1 files changed, 3 insertions, 7 deletions
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 @@ :<leader>o {:name :+orgmode} :<leader>r {:name :+replace} :<leader>s {:name :+session} - :<leader>w {:name :+worktree} - }) + :<leader>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} |