This repository has been archived on 2024-10-28. You can view files and clone it, but cannot push or open issues or pull requests.
nvim-config/init.lua

22 lines
610 B
Lua
Raw Normal View History

2022-11-29 05:22:32 -08:00
local function bootstrap(pkg, repo)
local plug_dir = vim.fn.stdpath('data') .. '/site/pack/packer/start/' .. pkg
if vim.fn.isdirectory(plug_dir) ~= 1 then
vim.fn.system({ 'git', 'clone', '--depth', '1', repo, plug_dir })
vim.cmd.packadd(pkg)
2022-11-30 00:21:44 -08:00
return true
2022-11-29 05:22:32 -08:00
end
2022-11-30 00:21:44 -08:00
return false
2022-11-29 05:22:32 -08:00
end
2022-11-30 00:21:44 -08:00
_G.zander = {}
_G.zander.first_launch = bootstrap('packer.nvim', 'https://github.com/wbthomason/packer.nvim')
2022-11-29 05:22:32 -08:00
bootstrap('tangerine.nvim', 'https://github.com/udayvir-singh/tangerine.nvim')
require('tangerine').setup({
compiler = {
hooks = {
"oninit"
}
}
})