Files
dotfiles/.config/nvim/plugin/bootstrap.lua

20 lines
522 B
Lua

local install_path = vim.fn.stdpath('data')..'/site/pack/packer/start/'
local function bootstrap(url)
local name = url:gsub('.*/', '')
local path = install_path .. name
if vim.fn.empty(vim.fn.glob(path)) > 0 then
vim.fn.system({'git', 'clone', '--depth', '1', url, path})
vim.cmd('packadd ' .. name)
end
end
bootstrap('https://github.com/udayvir-singh/tangerine.nvim')
bootstrap('https://github.com/udayvir-singh/hibiscus.nvim')
require('tangerine').setup({
compiler = {
hooks = {'oninit'}
}
})