2024-04-26 23:30:17 +05:00
|
|
|
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", -- latest stable release
|
|
|
|
lazypath,
|
|
|
|
})
|
|
|
|
end
|
|
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
|
|
|
|
require("lazy").setup({
|
|
|
|
-- Git
|
|
|
|
{ 'lewis6991/gitsigns.nvim', tag = 'v0.6' },
|
|
|
|
-- Lualine
|
|
|
|
{ 'nvim-lualine/lualine.nvim' },
|
|
|
|
-- Gruvbox theme
|
2024-05-27 12:51:11 +05:00
|
|
|
{
|
|
|
|
'ellisonleao/gruvbox.nvim',
|
|
|
|
tag = '2.0.0',
|
|
|
|
},
|
2024-04-26 23:30:17 +05:00
|
|
|
|
|
|
|
-- Telescope
|
|
|
|
{
|
|
|
|
'nvim-telescope/telescope.nvim',
|
|
|
|
tag = '0.1.2',
|
|
|
|
dependencies = {
|
|
|
|
'nvim-lua/plenary.nvim',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Nvim-treesitter
|
|
|
|
{
|
|
|
|
'nvim-treesitter/nvim-treesitter',
|
2024-05-27 12:51:11 +05:00
|
|
|
tag = 'v0.9.2',
|
2024-04-26 23:30:17 +05:00
|
|
|
init = function()
|
|
|
|
local ts_update = require('nvim-treesitter.install').update({ with_sync = true })
|
|
|
|
ts_update()
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
|
|
|
|
-- LSP
|
|
|
|
{ 'neovim/nvim-lspconfig' },
|
|
|
|
{ 'ray-x/lsp_signature.nvim' },
|
|
|
|
{
|
|
|
|
'hrsh7th/nvim-cmp',
|
|
|
|
dependencies = {
|
|
|
|
'hrsh7th/cmp-nvim-lsp',
|
|
|
|
{ 'L3MON4D3/LuaSnip', version = "v2.*" },
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
-- Neo-tree
|
|
|
|
{
|
|
|
|
"nvim-neo-tree/neo-tree.nvim",
|
|
|
|
branch = "v3.x",
|
|
|
|
dependencies = {
|
|
|
|
'nvim-lua/plenary.nvim',
|
|
|
|
'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
|
|
|
|
'MunifTanjim/nui.nvim',
|
|
|
|
},
|
|
|
|
},
|
|
|
|
})
|