summaryrefslogtreecommitdiff
path: root/fnl/install.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 23:49:33 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-11 23:49:33 +0200
commit95944c1bde19418e9b8aa1c91622067945c7b1ea (patch)
tree9e1138ce594a117701163790da761e29abb82ff2 /fnl/install.fnl
parente816ef784ac00d367de6d9334b167bf9533e5d7a (diff)
style: format
Diffstat (limited to 'fnl/install.fnl')
-rw-r--r--fnl/install.fnl6
1 files changed, 3 insertions, 3 deletions
diff --git a/fnl/install.fnl b/fnl/install.fnl
index e518043..f6b4501 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.readdir path)) 3)
- (packer.sync))
+(local path (.. (vim.fn.stdpath :data) :/site/pack/packer/start))
+(if (= (length (vim.fn.readdir path)) 3)
+ (packer.sync))