summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf@nexure.io>2022-06-01 18:13:44 +0200
committerGustaf Rydholm <gustaf@nexure.io>2022-06-01 18:13:44 +0200
commitf23f8db85ffc8d2d7f2b427475d98a95eafe7f1c (patch)
tree178f5605a6f492804bf7aef205f4b8429c47afca
parent02c402c9beef26879078fdff7a0452a4996fb256 (diff)
Move impatient to init.lua
-rw-r--r--fnl/config/impatient.fnl5
-rw-r--r--fnl/config/init.fnl3
-rw-r--r--init.lua4
3 files changed, 3 insertions, 9 deletions
diff --git a/fnl/config/impatient.fnl b/fnl/config/impatient.fnl
deleted file mode 100644
index ab37eb3..0000000
--- a/fnl/config/impatient.fnl
+++ /dev/null
@@ -1,5 +0,0 @@
-;; Speeds up loading of plugins.
-(module config.impatient {autoload {util util}})
-
-(let [impatient (util.load-plugin :impatient)]
- (impatient.enable_profile))
diff --git a/fnl/config/init.fnl b/fnl/config/init.fnl
index 57e92a5..caecf18 100644
--- a/fnl/config/init.fnl
+++ b/fnl/config/init.fnl
@@ -1,6 +1,5 @@
;; Load all plugin configs.
-(module config.init {require [config.impatient
- config.autocmd
+(module config.init {require [config.autocmd
config.alpha
config.autopairs
config.better-escape
diff --git a/init.lua b/init.lua
index f9e1cf2..ad26830 100644
--- a/init.lua
+++ b/init.lua
@@ -19,12 +19,12 @@ local function bootstrap(user, repository)
end
end
--- Bootstrap install essential modules if not present
bootstrap("wbthomason", "packer.nvim")
bootstrap("Olical", "aniseed")
bootstrap("lewis6991", "impatient.nvim")
--- Loads plugins for Neovim with fennel.
+require("impatient")
+
vim.g["aniseed#env"] = {
module = "init",
compile = true,