summaryrefslogtreecommitdiff
path: root/fnl/config/which-key.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-07 22:32:53 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-07 22:32:53 +0200
commit71d538630b226da37e4ef21c5a84d6fad5f55421 (patch)
tree5f87a9c1194a556d12ffca79ea98a08d76af548e /fnl/config/which-key.fnl
parentfa9a5c6b80b5b0ffdcddc4b1d1c6cfe887d0bb04 (diff)
fix(load plugin): correct loading err
Diffstat (limited to 'fnl/config/which-key.fnl')
-rw-r--r--fnl/config/which-key.fnl11
1 files changed, 5 insertions, 6 deletions
diff --git a/fnl/config/which-key.fnl b/fnl/config/which-key.fnl
index b9fc923..c98609d 100644
--- a/fnl/config/which-key.fnl
+++ b/fnl/config/which-key.fnl
@@ -169,9 +169,8 @@
'<ESC><CMD>lua require("Comment.api").toggle_linewise_op(vim.fn.visualmode())<CR>'
"Comment" ]})
-(let [(ok? which-key) util.load-plugin :nvim-which-key.config]
- (when ok?
- (do
- (which-key.setup setup)
- (when.register mappings opts)
- (when.register vmappings vopts))))
+(let [which-key (util.load-plugin :nvim-which-key.config)]
+ (do
+ (which-key.setup setup)
+ (when.register mappings opts)
+ (when.register vmappings vopts)))