Neovim-Config/lua/cam123/lazy.lua
2024-01-30 21:13:47 -07:00

69 lines
1.2 KiB
Lua

local lazypath = vim.fn.stdpath('data') .. '/lazy/lazy.nvim'
local uv = vim.uv or vim.loop
-- Auto-install lazy.nvim if not present
if not uv.fs_stat(lazypath) then
print('Installing lazy.nvim....')
vim.fn.system({
'git',
'clone',
'--filter=blob:none',
'https://github.com/folke/lazy.nvim.git',
'--branch=stable', -- latest stable release
lazypath,
})
print('Done.')
end
vim.opt.rtp:prepend(lazypath)
require('lazy').setup({
{'folke/tokyonight.nvim'},
{'ThePrimeagen/vim-be-good'},
{
'kristijanhusak/vim-dadbod-ui',
dependencies = {
{'tpope/vim-dadbod'},
{'kristijanhusak/vim-dadbod-completion'},
}
},
{'tpope/vim-fugitive'},
{
'VonHeikemen/lsp-zero.nvim',
branch = 'v2.x',
dependencies = {
{'neovim/nvim-lspconfig'},
{'hrsh7th/nvim-cmp'},
{'hrsh7th/cmp-nvim-lsp'},
{'L3MON4D3/LuaSnip'},
}
},
{
'nvim-treesitter/nvim-treesitter',
build = ":TSUpdate"
},
{
'nvim-telescope/telescope.nvim', branch = '0.1.x',
dependencies = {
{'nvim-lua/plenary.nvim'},
}
},
{'mbbill/undotree'},
{
'ThePrimeagen/harpoon',
dependencies = {
{'nvim-lua/plenary.nvim'},
}
},
})