Fix mason-lspconfig

This commit is contained in:
Alexander Gehrke 2025-06-02 22:47:43 +02:00
parent ea2fef69b3
commit d45706cd86
3 changed files with 37 additions and 8 deletions

View file

@ -1,6 +1,5 @@
return {
"crater2150/vim-theme-chroma",
dev = true,
lazy = false,
branch = "lush",
priority = 1000,

View file

@ -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,
},
},
}