win-nvim/lua/zak/plugins.lua

82 lines
2.3 KiB
Lua
Raw Normal View History

2024-11-10 11:23:44 +00:00
-- Bootstrap lazy.nvim if not already installed
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)
return require('lazy').setup({
2024-11-10 15:49:52 +00:00
{
'nvim-lualine/lualine.nvim',
dependencies = { 'nvim-tree/nvim-web-devicons' }
},
2024-11-11 11:57:16 +00:00
-- 'github/copilot.vim',
2024-11-10 11:23:44 +00:00
{
'numToStr/Comment.nvim',
opts = {
-- add any options here
},
lazy = false,
},
{
'nvim-telescope/telescope.nvim',
tag = '0.1.7',
dependencies = { 'nvim-lua/plenary.nvim' }
},
{ "catppuccin/nvim", name = "catppuccin", priority = 1000 },
-- {
-- 'rose-pine/neovim',
-- name = 'rose-pine',
-- config = function()
-- vim.cmd('colorscheme rose-pine')
-- end
-- },
2024-11-10 15:49:52 +00:00
{
"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",
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
}
},
2024-11-10 11:23:44 +00:00
{
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate'
},
'nvim-treesitter/playground',
{
'nvim-telescope/telescope-fzf-native.nvim',
build = 'cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build'
},
'theprimeagen/harpoon',
'mbbill/undotree',
'tpope/vim-fugitive',
{
'VonHeikemen/lsp-zero.nvim',
branch = 'v3.x',
dependencies = {
-- Uncomment the two plugins below if you want to manage the language servers from neovim
'williamboman/mason.nvim',
'williamboman/mason-lspconfig.nvim',
'neovim/nvim-lspconfig',
'hrsh7th/nvim-cmp',
'hrsh7th/cmp-buffer',
'hrsh7th/cmp-path',
'hrsh7th/cmp-nvim-lsp',
'hrsh7th/cmp-nvim-lua',
'L3MON4D3/LuaSnip',
}
},
})