First draft after switching to lazy.nvim

This commit is contained in:
Fabian Schmidt
2023-02-24 21:11:27 +01:00
parent 6a51019731
commit 717c7f09e5
10 changed files with 235 additions and 223 deletions

28
lua/plugins/lsp.lua Normal file
View File

@@ -0,0 +1,28 @@
return {
-- lsp
{ 'williamboman/mason.nvim' },
{ 'williamboman/mason-lspconfig.nvim' },
{ 'neovim/nvim-lspconfig' },
{ 'simrat39/rust-tools.nvim' },
{ 'onsails/lspkind-nvim' }, -- pictograms replace (?) with lspsaga
{ 'j-hui/fidget.nvim' }, -- show lsp status
-- completion
{
'hrsh7th/nvim-cmp',
event = 'InsertEnter',
dependencies = {
'hrsh7th/cmp-nvim-lsp',
'hrsh7th/cmp-nvim-lsp-signature-help',
'hrsh7th/cmp-buffer',
'hrsh7th/cmp-path',
'hrsh7th/cmp-nvim-lua',
'hrsh7th/cmp-cmdline',
-- snippets needed for cmp
'L3MON4D3/LuaSnip',
'saadparwaiz1/cmp_luasnip',
'windwp/nvim-autopairs',
}
}
}
-- -- Linting & formtatting
-- 'jose-elias-alvarez/null-ls.nvim';