added support for null-ls.nvim plugin

This commit is contained in:
pr0c3550r 2023-01-25 20:48:45 +01:00
parent 7d7e3a3229
commit 283dac5ad8

View file

@ -9,7 +9,7 @@ return require('packer').startup(function(use)
-- Fuzzy finder -- Fuzzy finder
use { use {
'nvim-telescope/telescope.nvim', tag = '0.1.0', 'nvim-telescope/telescope.nvim', tag = '0.1.0',
requires = { {'nvim-lua/plenary.nvim'} } requires = { { 'nvim-lua/plenary.nvim' } }
} }
-- Treesitter for better highlighting -- Treesitter for better highlighting
@ -29,26 +29,28 @@ return require('packer').startup(function(use)
-- LSP -- LSP
use { use {
{'williamboman/mason.nvim'}, { 'williamboman/mason.nvim' },
{'williamboman/mason-lspconfig.nvim'}, { 'williamboman/mason-lspconfig.nvim' },
{'neovim/nvim-lspconfig'}, { 'neovim/nvim-lspconfig' },
} }
-- Autocomplete -- Autocomplete
use { use {
'hrsh7th/nvim-cmp', 'hrsh7th/nvim-cmp',
requires = { requires = {
{'hrsh7th/cmp-nvim-lsp'}, { 'hrsh7th/cmp-nvim-lsp' },
{'hrsh7th/cmp-buffer'}, { 'hrsh7th/cmp-buffer' },
{'hrsh7th/cmp-path'}, { 'hrsh7th/cmp-path' },
{'hrsh7th/cmp-cmdline'}, { 'hrsh7th/cmp-cmdline' },
{'L3MON4D3/LuaSnip', { 'L3MON4D3/LuaSnip',
requires = { requires = {
{'rafamadriz/friendly-snippets'} { 'rafamadriz/friendly-snippets' }
} }
}, },
{'saadparwaiz1/cmp_luasnip'}, { 'saadparwaiz1/cmp_luasnip' },
}
} }
}
-- other LSP actions
use { 'jose-elias-alvarez/null-ls.nvim' }
end) end)