diff options
Diffstat (limited to 'fnl/install.fnl')
-rw-r--r-- | fnl/install.fnl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fnl/install.fnl b/fnl/install.fnl index d4a4fdb..e518043 100644 --- a/fnl/install.fnl +++ b/fnl/install.fnl @@ -10,6 +10,6 @@ (use (a.assoc opts 1 plugin)))))) (install-plugins plugins.plugins) -(local path (vim.fn.stdpath (.. "data" "/site/pack/packer/start"))) -(if (= (vim.fn.empty (vim.fn.glob path)) 3) +(local path (.. (vim.fn.stdpath "data") "/site/pack/packer/start")) +(if (= (# (vim.fn.readdir path)) 3) (packer.sync)) |