From f23f8db85ffc8d2d7f2b427475d98a95eafe7f1c Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Wed, 1 Jun 2022 18:13:44 +0200 Subject: Move impatient to init.lua --- fnl/config/impatient.fnl | 5 ----- fnl/config/init.fnl | 3 +-- init.lua | 4 ++-- 3 files changed, 3 insertions(+), 9 deletions(-) delete mode 100644 fnl/config/impatient.fnl 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, -- cgit v1.2.3-70-g09d2