summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 23:49:04 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 23:49:04 +0200
commite816ef784ac00d367de6d9334b167bf9533e5d7a (patch)
tree1e297402e7b457cd832017c8aabbca82dc139a8b
parent3dcabe8121c7b8a873fda33db7ad337e86a3633f (diff)
fix(init): only read configs if plugins are dl
-rw-r--r--fnl/init.fnl3
1 files changed, 2 insertions, 1 deletions
diff --git a/fnl/init.fnl b/fnl/init.fnl
index 7e6ddc7..f88b870 100644
--- a/fnl/init.fnl
+++ b/fnl/init.fnl
@@ -2,4 +2,5 @@
(module init)
(require :settings)
(require :install)
-(require :config)
+(if (> (# (vim.fn.readdir path)) 3)
+ (require :config))