From 813af84bbadca58ac383c0974d2a223c89b75023 Mon Sep 17 00:00:00 2001 From: RhiobeT Date: Fri, 9 Sep 2022 14:34:03 +0200 Subject: [PATCH] [NeoVim] Add impatient --- .config/nvim/fnl/plugins.fnl | 2 ++ .config/nvim/plugin/bootstrap.lua | 12 ++++++++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.config/nvim/fnl/plugins.fnl b/.config/nvim/fnl/plugins.fnl index 2d52639..b1d8176 100644 --- a/.config/nvim/fnl/plugins.fnl +++ b/.config/nvim/fnl/plugins.fnl @@ -6,6 +6,8 @@ (packer {:display {:open_fn (. (require :packer.util) :float)}} + + (use! :lewis6991/impatient.nvim) (use! :udayvir-singh/tangerine.nvim) (use! :udayvir-singh/hibiscus.nvim) diff --git a/.config/nvim/plugin/bootstrap.lua b/.config/nvim/plugin/bootstrap.lua index cc352b6..10b3dce 100644 --- a/.config/nvim/plugin/bootstrap.lua +++ b/.config/nvim/plugin/bootstrap.lua @@ -1,7 +1,8 @@ local install_path = vim.fn.stdpath('data')..'/site/pack/packer/start/' -local function bootstrap(url) - local name = url:gsub('.*/', '') +local function bootstrap(repo) + local url = 'https://github.com/' .. repo + local name = repo:gsub('.*/', '') local path = install_path .. name local bootstrapped = false if vim.fn.empty(vim.fn.glob(path)) > 0 then @@ -12,8 +13,11 @@ local function bootstrap(url) return bootstrapped end -local tangerine_bootstrapped = bootstrap('https://github.com/udayvir-singh/tangerine.nvim') -bootstrap('https://github.com/udayvir-singh/hibiscus.nvim') +bootstrap('lewis6991/impatient.nvim') +require('impatient') + +local tangerine_bootstrapped = bootstrap('udayvir-singh/tangerine.nvim') +bootstrap('udayvir-singh/hibiscus.nvim') if tangerine_bootstrapped then require('tangerine').setup({