nvim/lua/sevi-kun/packer.lua

87 lines
2.1 KiB
Lua
Raw Normal View History

2023-06-28 18:50:56 +02:00
-- This file can be loaded by calling `lua require('plugins')` from your init.vim
-- Only required if you have packer configured as `opt`
vim.cmd [[packadd packer.nvim]]
return require('packer').startup(function(use)
-- Packer can manage itself
use 'wbthomason/packer.nvim'
-- treesitter
2023-07-12 22:31:54 +02:00
use ('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'})
use ('nvim-treesitter/playground')
use ('nvim-treesitter/nvim-treesitter-context')
-- useful
use {
2023-07-12 22:32:34 +02:00
'nvim-telescope/telescope.nvim', tag = '0.1.2',
requires = 'nvim-lua/plenary.nvim'
}
2023-07-12 22:31:54 +02:00
use {
'ThePrimeagen/harpoon',
requires = 'nvim-lua/plenary.nvim'
}
2023-07-12 22:27:48 +02:00
use {
'NeogitOrg/neogit',
requires = 'nvim-lua/plenary.nvim'
}
2023-07-12 22:31:54 +02:00
use ('mbbill/undotree')
2023-07-13 11:36:53 +02:00
use {
'm4xshen/autoclose.nvim',
config = function ()
require("autoclose").setup()
end
}
2023-07-12 22:31:54 +02:00
-- pretty
2023-07-12 22:31:54 +02:00
use {
'catppuccin/nvim',
as = 'mocha',
config = function()
vim.cmd('colorscheme catppuccin-mocha')
end
2023-07-12 22:31:54 +02:00
}
2023-07-12 22:31:54 +02:00
use {
"utilyre/barbecue.nvim", tag = "*",
requires = {
"SmiteshP/nvim-navic",
"nvim-tree/nvim-web-devicons", -- optional dependency
},
after = "nvim-web-devicons", -- keep this if you're using NvChad
config = function()
require("barbecue").setup()
end,
2023-07-12 22:31:54 +02:00
}
-- lsp
2023-07-12 22:31:54 +02:00
use {
'VonHeikemen/lsp-zero.nvim',
branch = 'v2.x',
requires = {
-- LSP Support
{'neovim/nvim-lspconfig'}, -- Required
{ -- Optional
'williamboman/mason.nvim',
run = function()
pcall(vim.cmd, 'MasonUpdate')
end,
},
{'williamboman/mason-lspconfig.nvim'}, -- Optional
-- Autocompletion
{'hrsh7th/nvim-cmp'}, -- Required
{'hrsh7th/cmp-nvim-lsp'}, -- Required
{'L3MON4D3/LuaSnip'}, -- Required
2023-07-06 15:08:30 +02:00
}
2023-07-12 22:31:54 +02:00
}
2023-07-06 15:08:30 +02:00
end)