]> src.twobees.de Git - dotfiles.git/blobdiff - stow/nvim/.config/nvim/lua/plugin_mgr.lua
Merge branch 'main' of ssh://src.twobees.de/git/dotfiles
[dotfiles.git] / stow / nvim / .config / nvim / lua / plugin_mgr.lua
index f69eee5c9b821a1779363eba41ff62a2881b87f1..357d30c846b3af7752db53d4962c883b0d786988 100644 (file)
@@ -16,21 +16,32 @@ return require('packer').startup(function(use)
     use { 'catppuccin/nvim', as = 'catppuccin' }
     use { 'folke/tokyonight.nvim' }
     use { 'unblevable/quick-scope'}
-    use { 'neovim/nvim-lspconfig' }
     use { 'onsails/lspkind.nvim' }
-    use { "williamboman/mason.nvim" } -- lsp installer
     use
     {
         'nvim-treesitter/nvim-treesitter',
         run = ':TSUpdate'
     }
+    use {
+        'VonHeikemen/lsp-zero.nvim',
+        requires = {
+            -- LSP Support
+            {'neovim/nvim-lspconfig'},
+            {'williamboman/mason.nvim'},
+            {'williamboman/mason-lspconfig.nvim'},
+
+            -- Autocompletion
+            {'hrsh7th/nvim-cmp'},
+            {'hrsh7th/cmp-buffer'},
+            {'hrsh7th/cmp-path'},
+            {'saadparwaiz1/cmp_luasnip'},
+            {'hrsh7th/cmp-nvim-lsp'},
+            {'hrsh7th/cmp-nvim-lua'},
+        }
+    }
 
     -- complition stuff
-    use { 'hrsh7th/cmp-nvim-lsp' }
-    use { 'hrsh7th/cmp-buffer' }
-    use { 'hrsh7th/cmp-path' }
     use { 'hrsh7th/cmp-cmdline' }
-    use { 'hrsh7th/nvim-cmp' }
 
     use {
         'nvim-telescope/telescope.nvim', branch = '0.1.x',