Fix LSP and update plugins
- Structure LSP configuration code - Since `lsp-zero` is deprecated, instead use `nvim-lspconfig` - Use `nvim_lsp_signature_help` instead of `lsp_signature`
This commit is contained in:
parent
b25bcaf11a
commit
456046c4a7
11 changed files with 105 additions and 103 deletions
|
@ -7,57 +7,51 @@ return require('packer').startup(function(use)
|
|||
-- Packer can manage itself
|
||||
use('wbthomason/packer.nvim')
|
||||
|
||||
|
||||
use('olimorris/onedarkpro.nvim')
|
||||
use('SapphirusBeryl/nightfox.nvim')
|
||||
use('nvim-tree/nvim-web-devicons')
|
||||
|
||||
use('nvim-treesitter/playground');
|
||||
use('nvim-treesitter/nvim-treesitter', {run = ':TSUpdate'})
|
||||
|
||||
use('mbbill/undotree')
|
||||
|
||||
use('williamboman/mason.nvim')
|
||||
use('williamboman/mason-lspconfig.nvim')
|
||||
|
||||
|
||||
use {
|
||||
'nvim-telescope/telescope.nvim', tag = '0.1.5',
|
||||
requires = { {'nvim-lua/plenary.nvim'} }
|
||||
}
|
||||
|
||||
use {
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
branch = "v3.x",
|
||||
requires = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
||||
"MunifTanjim/nui.nvim",
|
||||
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
|
||||
}
|
||||
}
|
||||
|
||||
use {
|
||||
'VonHeikemen/lsp-zero.nvim',
|
||||
branch = 'v3.x',
|
||||
'neovim/nvim-lspconfig',
|
||||
requires = {
|
||||
--- Uncomment the two plugins below if you want to manage the language servers from neovim
|
||||
-- {'williamboman/mason.nvim'},
|
||||
-- {'williamboman/mason-lspconfig.nvim'},
|
||||
-- Mason Package Manager
|
||||
{'williamboman/mason.nvim'},
|
||||
{'williamboman/mason-lspconfig.nvim'},
|
||||
|
||||
-- LSP Support
|
||||
{'neovim/nvim-lspconfig'},
|
||||
-- Autocompletion
|
||||
{'hrsh7th/nvim-cmp'},
|
||||
{'hrsh7th/cmp-nvim-lsp'},
|
||||
{'hrsh7th/cmp-nvim-lsp-signature-help'},
|
||||
{'L3MON4D3/LuaSnip'},
|
||||
}
|
||||
}
|
||||
|
||||
use {
|
||||
"ray-x/lsp_signature.nvim",
|
||||
use {
|
||||
'nvim-treesitter/nvim-treesitter',
|
||||
run = ':TSUpdate',
|
||||
}
|
||||
|
||||
use {
|
||||
'nvim-telescope/telescope.nvim',
|
||||
tag = '0.1.x',
|
||||
requires = {
|
||||
{'nvim-lua/plenary.nvim'}
|
||||
}
|
||||
}
|
||||
|
||||
use {
|
||||
'nvim-neo-tree/neo-tree.nvim',
|
||||
branch = 'v3.x',
|
||||
requires = {
|
||||
'nvim-lua/plenary.nvim',
|
||||
'nvim-tree/nvim-web-devicons', -- not strictly required, but recommended
|
||||
'MunifTanjim/nui.nvim',
|
||||
-- '3rd/image.nvim', -- Optional image support in preview window: See `# Preview Mode` for more information
|
||||
}
|
||||
}
|
||||
|
||||
use {
|
||||
'tanvirtin/vgit.nvim',
|
||||
requires = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue