change mason stuff

This commit is contained in:
2025-09-23 13:49:09 +02:00
parent 95e4b5750b
commit a31a975a98
3 changed files with 35 additions and 34 deletions

View File

@@ -8,30 +8,30 @@ return {
border = "single",
},
},
config = function(_, opts)
require("mason").setup(opts)
end,
config = true,
},
{
"mason-org/mason-lspconfig.nvim",
opts = {
"vtsls",
"eslint",
"lua_ls",
"jsonls",
"html",
"tailwindcss",
"pylsp",
"dockerls",
"bashls",
"marksman",
"rust_analyzer",
},
dependencies = {
{
"mason-org/mason.nvim", opts = {}
},
"mason-org/mason.nvim",
"neovim/nvim-lspconfig",
},
}
opts = {
ensure_installed = {
"vtsls",
"eslint",
"lua_ls",
"jsonls",
"html",
"tailwindcss",
"pylsp",
"dockerls",
"bashls",
"marksman",
"rust_analyzer",
},
automatic_enable = true,
},
config = true
},
}

View File

@@ -6,6 +6,7 @@ return {
"nvim-treesitter/nvim-tree-docs",
"JoosepAlviste/nvim-ts-context-commentstring",
},
lazy = false,
config = function()
require("nvim-treesitter.configs").setup({
-- A list of parser names, or "all" (the five listed parsers should always be installed)