Configured mason for auto-installation (currently does not work)

- added dockerfile treesitter
This commit is contained in:
2026-05-18 04:54:10 -05:00
parent 74b676c66c
commit abb12585de
2 changed files with 31 additions and 20 deletions
+2 -1
View File
@@ -289,7 +289,8 @@ function M.nvim_treesitter_new()
"vim",
"yaml",
"toml",
"php",
"php",
"dockerfile",
}
local run_langs = vim.tbl_extend("force", install_langs, {
"htmlangular",
+29 -19
View File
@@ -138,7 +138,35 @@ cmp.setup({
mapping = cmp.mapping.preset.insert(mapping),
})
local lsps = {
"bashls",
"clangd",
"cssls",
"gopls",
"html",
--"htmx",
"jsonls",
"lua_ls",
"pyright",
"svelte",
"tailwindcss",
"taplo",
"templ",
"ts_ls",
"zls",
"csharp_ls",
"intelephense",
"php-cs-fixer",
}
local local_lsp_configs = {
"angular-language-server",
}
require("mason").setup({
ensure_installed = lsps,
automatic_installation = true,
automatic_enable = false,
registries = {
"github:mason-org/mason-registry",
"github:Crashdummyy/mason-registry",
@@ -160,22 +188,4 @@ vim.lsp.config("html", {
filetypes = html_filetypes,
})
vim.lsp.enable({
"angular-language-server",
"bashls",
"clangd",
"cssls",
"gopls",
"html",
--"htmx",
"jsonls",
"lua_ls",
"pyright",
"svelte",
"tailwindcss",
"taplo",
"templ",
"ts_ls",
"zls",
"csharp_ls",
})
vim.lsp.enable(vim.tbl_extend("force", lsps, local_lsp_configs))