summaryrefslogtreecommitdiff
path: root/config/.config/nvim/lua/miself/packer.lua
diff options
context:
space:
mode:
authorRasmus <rasmus.luha@gmail.com>2023-04-08 00:27:03 +0300
committerRasmus <rasmus.luha@gmail.com>2023-04-08 00:27:03 +0300
commita16bdfe930d89e1a7fb354b78d16e8742118f76d (patch)
treef32aabd929a485ac24ea2b3fb1c9c9d041f27478 /config/.config/nvim/lua/miself/packer.lua
checkers
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)