From e816ef784ac00d367de6d9334b167bf9533e5d7a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 11 Apr 2022 23:49:04 +0200 Subject: fix(init): only read configs if plugins are dl --- fnl/init.fnl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'fnl') 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)) -- cgit v1.2.3-70-g09d2