From 71d538630b226da37e4ef21c5a84d6fad5f55421 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 7 Apr 2022 22:32:53 +0200 Subject: fix(load plugin): correct loading err --- fnl/config/which-key.fnl | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'fnl/config/which-key.fnl') 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 @@ 'lua require("Comment.api").toggle_linewise_op(vim.fn.visualmode())' "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))) -- cgit v1.2.3-70-g09d2