summaryrefslogtreecommitdiff
path: root/config/.config/nvim/lua/miself/packer.lua
diff options
context:
space:
mode:
Diffstat (limited to 'config/.config/nvim/lua/miself/packer.lua')
-rw-r--r--config/.config/nvim/lua/miself/packer.lua51
1 files changed, 51 insertions, 0 deletions
diff --git a/config/.config/nvim/lua/miself/packer.lua b/config/.config/nvim/lua/miself/packer.lua
new file mode 100644
index 0000000..2f8217b
--- /dev/null
+++ b/config/.config/nvim/lua/miself/packer.lua
@@ -0,0 +1,51 @@
+-- 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'
+
+
+ -- Telescope
+ use {
+ 'nvim-telescope/telescope.nvim', tag = '0.1.1',
+ -- or , branch = '0.1.x',
+ requires = { {'nvim-lua/plenary.nvim'} }
+ }
+
+
+
+ -- Colors
+ use({ 'rose-pine/neovim', as = 'rose-pine' })
+ use({ "catppuccin/nvim", as = "catppuccin" })
+
+ use('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'})
+
+
+
+ -- LSP
+ use {
+ 'VonHeikemen/lsp-zero.nvim',
+ branch = 'v1.x',
+ requires = {
+ -- LSP Support
+ {'neovim/nvim-lspconfig'}, -- Required
+ {'williamboman/mason.nvim'}, -- Optional
+ {'williamboman/mason-lspconfig.nvim'}, -- Optional
+
+ -- Autocompletion
+ {'hrsh7th/nvim-cmp'}, -- Required
+ {'hrsh7th/cmp-nvim-lsp'}, -- Required
+ {'hrsh7th/cmp-buffer'}, -- Optional
+ {'hrsh7th/cmp-path'}, -- Optional
+ {'saadparwaiz1/cmp_luasnip'}, -- Optional
+ {'hrsh7th/cmp-nvim-lua'}, -- Optional
+
+ -- Snippets
+ {'L3MON4D3/LuaSnip'}, -- Required
+ {'rafamadriz/friendly-snippets'}, -- Optional
+ }
+ }
+
+
+end)