summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-12 00:25:51 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-04-12 00:25:51 +0200
commit40263320fa45f52741c55f5c6e78afbdaa7ee2e7 (patch)
tree3ced2f21bf294573b581320a6657a7d23807453e
parent250590f7723a449f70611deb2275ee05a463f8d2 (diff)
fix(bootstrap): mv check of plugins back to install
-rw-r--r--fnl/init.fnl4
-rw-r--r--init.lua4
2 files changed, 3 insertions, 5 deletions
diff --git a/fnl/init.fnl b/fnl/init.fnl
index 4862b16..00e8fc0 100644
--- a/fnl/init.fnl
+++ b/fnl/init.fnl
@@ -3,4 +3,6 @@
(require :settings)
(require :install)
(if (> util.num-plugins 3)
- (require :config))
+ (require :config)
+ (vim.notify "Not loading config before plugins are downloaded"
+ vim.log.levels.DEBUG))
diff --git a/init.lua b/init.lua
index 90db1c4..e166864 100644
--- a/init.lua
+++ b/init.lua
@@ -24,10 +24,6 @@ ensure("wbthomason", "packer.nvim")
ensure("Olical", "aniseed")
ensure("lewis6991", "impatient.nvim")
-if #vim.fn.readdir(packer_path) == 3 then
- require("packer").sync()
-end
-
-- Loads plugins for Neovim with fennel.
vim.g["aniseed#env"] = {
module = "init",