summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/mango/packer.lua
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-09-12 12:17:08 +0200
committerThomas Voss <mail@thomasvoss.com> 2023-09-12 12:17:08 +0200
commit74858f94885c3bc9cef98a128a4710c2c2b99177 (patch)
tree73889360bcf232da3e9ffaa7ab3fba9f71c9e338 /.config/nvim/lua/mango/packer.lua
parent24fc98bfaca3f07c90ff33a3bfeb738fd84ff79a (diff)
nvim: Include more Neovim configurations
Diffstat (limited to '.config/nvim/lua/mango/packer.lua')
-rw-r--r--.config/nvim/lua/mango/packer.lua39
1 files changed, 39 insertions, 0 deletions
diff --git a/.config/nvim/lua/mango/packer.lua b/.config/nvim/lua/mango/packer.lua
new file mode 100644
index 0000000..ae250e7
--- /dev/null
+++ b/.config/nvim/lua/mango/packer.lua
@@ -0,0 +1,39 @@
+vim.cmd.packadd('packer.nvim')
+
+return require('packer').startup(function(use)
+ use 'wbthomason/packer.nvim'
+
+ use {
+ 'nvim-telescope/telescope.nvim',
+ tag = '0.1.2',
+ requires = { {'nvim-lua/plenary.nvim'} }
+ }
+
+ use {
+ 'rose-pine/neovim',
+ as = 'rose-pine',
+ config = function()
+ vim.cmd.colorscheme('rose-pine')
+ end
+ }
+
+ use('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'})
+ use 'mbbill/undotree'
+ use 'tpope/vim-fugitive'
+
+ use {
+ 'VonHeikemen/lsp-zero.nvim',
+ branch = 'v2.x',
+ requires = {
+ -- LSP Support
+ {'neovim/nvim-lspconfig'},
+ {'williamboman/mason.nvim'},
+ {'williamboman/mason-lspconfig.nvim'},
+
+ -- Autocompletion
+ {'hrsh7th/nvim-cmp'},
+ {'hrsh7th/cmp-nvim-lsp'},
+ {'L3MON4D3/LuaSnip'},
+ }
+ }
+end)