dots/.config/nvim/lua/config/plg.lua

22 lines
642 B
Lua

-- Initialize lazy.nvim
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable",
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
local plugins = {
{ "ellisonleao/gruvbox.nvim", priority = 1000 , config = true, opts = ...},
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
{ 'nvim-telescope/telescope.nvim', tag = '0.1.5', dependencies = { 'nvim-lua/plenary.nvim' } }
}
require("lazy").setup(plugins, {})