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/packer.fnl | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'fnl/config/packer.fnl') diff --git a/fnl/config/packer.fnl b/fnl/config/packer.fnl index 0bd8aef..0c5611b 100644 --- a/fnl/config/packer.fnl +++ b/fnl/config/packer.fnl @@ -2,9 +2,8 @@ (module config.packer {autoload {util util}}) -(let [(ok? packer) util.load-plugin :packer] - (when ok? - (packer.init { - :display { - :open_fn (fn [] - ((require :packer.util).float {:border :rounded}))}}))) +(let [packer (util.load-plugin :packer)] + (packer.init { + :display { + :open_fn (fn [] + ((require :packer.util).float {:border :rounded}))}})) -- cgit v1.2.3-70-g09d2