diff options
Diffstat (limited to '.config/nvim/lua/mango')
-rw-r--r-- | .config/nvim/lua/mango/packer.lua | 39 |
1 files changed, 28 insertions, 11 deletions
diff --git a/.config/nvim/lua/mango/packer.lua b/.config/nvim/lua/mango/packer.lua index 02aa11a..7f6beb1 100644 --- a/.config/nvim/lua/mango/packer.lua +++ b/.config/nvim/lua/mango/packer.lua @@ -36,20 +36,37 @@ return require('packer').startup(function(use) use 'Glench/Vim-Jinja2-Syntax' use 'luckasRanarison/tree-sitter-hypr' - -- LSP support + -- LSP support and completions + use 'neovim/nvim-lspconfig' use { - 'VonHeikemen/lsp-zero.nvim', - branch = 'v2.x', + 'hrsh7th/nvim-cmp', requires = { - -- LSP Support - { 'neovim/nvim-lspconfig' }, - { 'williamboman/mason.nvim' }, - { 'williamboman/mason-lspconfig.nvim' }, - - -- Autocompletion - { 'hrsh7th/nvim-cmp' }, + -- Completion backends + { 'hrsh7th/cmp-buffer' }, + { 'hrsh7th/cmp-nvim-lua' }, { 'hrsh7th/cmp-nvim-lsp' }, + { 'hrsh7th/cmp-path' }, + + -- Snippets { 'L3MON4D3/LuaSnip' }, - } + { 'saadparwaiz1/cmp_luasnip' }, + }, } + + -- LSP support + -- 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) |