[NeoVim] Add impatient
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user