[NeoVim] Add impatient
This commit is contained in:
@@ -6,6 +6,8 @@
|
|||||||
(packer
|
(packer
|
||||||
{:display {:open_fn (. (require :packer.util) :float)}}
|
{:display {:open_fn (. (require :packer.util) :float)}}
|
||||||
|
|
||||||
|
|
||||||
|
(use! :lewis6991/impatient.nvim)
|
||||||
(use! :udayvir-singh/tangerine.nvim)
|
(use! :udayvir-singh/tangerine.nvim)
|
||||||
(use! :udayvir-singh/hibiscus.nvim)
|
(use! :udayvir-singh/hibiscus.nvim)
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,8 @@
|
|||||||
local install_path = vim.fn.stdpath('data')..'/site/pack/packer/start/'
|
local install_path = vim.fn.stdpath('data')..'/site/pack/packer/start/'
|
||||||
|
|
||||||
local function bootstrap(url)
|
local function bootstrap(repo)
|
||||||
local name = url:gsub('.*/', '')
|
local url = 'https://github.com/' .. repo
|
||||||
|
local name = repo:gsub('.*/', '')
|
||||||
local path = install_path .. name
|
local path = install_path .. name
|
||||||
local bootstrapped = false
|
local bootstrapped = false
|
||||||
if vim.fn.empty(vim.fn.glob(path)) > 0 then
|
if vim.fn.empty(vim.fn.glob(path)) > 0 then
|
||||||
@@ -12,8 +13,11 @@ local function bootstrap(url)
|
|||||||
return bootstrapped
|
return bootstrapped
|
||||||
end
|
end
|
||||||
|
|
||||||
local tangerine_bootstrapped = bootstrap('https://github.com/udayvir-singh/tangerine.nvim')
|
bootstrap('lewis6991/impatient.nvim')
|
||||||
bootstrap('https://github.com/udayvir-singh/hibiscus.nvim')
|
require('impatient')
|
||||||
|
|
||||||
|
local tangerine_bootstrapped = bootstrap('udayvir-singh/tangerine.nvim')
|
||||||
|
bootstrap('udayvir-singh/hibiscus.nvim')
|
||||||
|
|
||||||
if tangerine_bootstrapped then
|
if tangerine_bootstrapped then
|
||||||
require('tangerine').setup({
|
require('tangerine').setup({
|
||||||
|
|||||||
Reference in New Issue
Block a user