Neovim: switch lsp to use mason automatic setup
This commit is contained in:
parent
b151067a21
commit
d19e5a8b6a
4 changed files with 123 additions and 128 deletions
|
@ -82,22 +82,16 @@ local plugins = {
|
|||
{ "folke/which-key.nvim", config = true },
|
||||
|
||||
-- Package manager for LSP servers, DAP adapters etc.
|
||||
{ "williamboman/mason.nvim", config = true },
|
||||
|
||||
-- Install LSP server executables with Mason
|
||||
{
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
config = true,
|
||||
"williamboman/mason.nvim",
|
||||
config = require("plugins.mason").setup,
|
||||
dependencies = {
|
||||
"neovim/nvim-lspconfig",
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
"WhoIsSethDaniel/mason-tool-installer.nvim",
|
||||
},
|
||||
},
|
||||
|
||||
{
|
||||
"WhoIsSethDaniel/mason-tool-installer.nvim",
|
||||
config = true,
|
||||
},
|
||||
|
||||
-- Configs for built-in LSP
|
||||
{ "neovim/nvim-lspconfig", config = require("plugins.lspconfig").setup },
|
||||
|
||||
-- Additional LSP features for Java
|
||||
"mfussenegger/nvim-jdtls",
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue