Fix mason-lspconfig
This commit is contained in:
parent
ea2fef69b3
commit
d45706cd86
3 changed files with 37 additions and 8 deletions
|
@ -6,8 +6,7 @@ return {
|
|||
dependencies = {
|
||||
{ "folke/neoconf.nvim", cmd = "Neoconf", config = true },
|
||||
{ "folke/neodev.nvim", opts = {} },
|
||||
"mason.nvim",
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
"williamboman/mason.nvim",
|
||||
"hrsh7th/cmp-nvim-lsp",
|
||||
},
|
||||
---@class PluginLspOpts
|
||||
|
@ -113,10 +112,42 @@ return {
|
|||
cmd = "Mason",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"jdtls",
|
||||
"lua-language-server",
|
||||
"stylua",
|
||||
"htmlbeautifier",
|
||||
"prettier",
|
||||
"prettierd",
|
||||
"ansible-lint",
|
||||
"clang-format",
|
||||
"xmlformatter",
|
||||
"eslint_d",
|
||||
},
|
||||
},
|
||||
},
|
||||
"mfussenegger/nvim-jdtls",
|
||||
{
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
dependencies = {
|
||||
{ "mason-org/mason.nvim", opts = {} },
|
||||
"neovim/nvim-lspconfig",
|
||||
},
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"ansiblels",
|
||||
"cssls",
|
||||
"eslint",
|
||||
"html",
|
||||
"jdtls",
|
||||
"jsonls",
|
||||
"lemminx",
|
||||
"lua_ls",
|
||||
"openscad_lsp",
|
||||
"oxlint",
|
||||
"pylsp",
|
||||
"somesass_ls",
|
||||
"tinymist",
|
||||
"ts_ls",
|
||||
},
|
||||
automatic_installation = true,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue