diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-11-07 13:39:23 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-11-07 13:42:36 +0100 |
commit | 9bbe0077104e5e0dab8b1a8f197f7ce9bb240be4 (patch) | |
tree | d481d1ad6a50d7dc17f0f0f4a023806514295db9 /.config/nvim/lua/mango | |
parent | 26e9302a62b7461ebffda8ae9a56025a90658194 (diff) |
nvim: Make LSP config more minimal
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) |