summaryrefslogtreecommitdiff
path: root/fnl/config
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/config')
-rw-r--r--fnl/config/init.fnl1
-rw-r--r--fnl/config/packer.fnl5
2 files changed, 2 insertions, 4 deletions
diff --git a/fnl/config/init.fnl b/fnl/config/init.fnl
index 7299f0b..c1eb17d 100644
--- a/fnl/config/init.fnl
+++ b/fnl/config/init.fnl
@@ -1,6 +1,5 @@
;; Load all plugin configs.
(module config.init {require {_ config.impatient
- _ config.packer
_ config.autocmd
_ config.alpha
_ config.autopairs
diff --git a/fnl/config/packer.fnl b/fnl/config/packer.fnl
index 9d6a016..6441ab0 100644
--- a/fnl/config/packer.fnl
+++ b/fnl/config/packer.fnl
@@ -1,7 +1,6 @@
;; Load packer config
(module config.packer {autoload {util util}})
-(let [packer (util.load-plugin :packer)]
+(let [packer (util.load-plugin :packer) packer-util (require :packer.util)]
(packer.init {:display {:open_fn (fn []
- ((require :packer.util).float
- {:border :rounded}))}}))
+ (packer-util.float {:border :rounded}))}}))