treesitter and lsps

This commit is contained in:
djkato 2024-01-10 13:56:16 +01:00
parent 7a09394d5b
commit bbf98cedf2
2 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,16 @@
-- use mason-lspconfig to configure LSP installations
return {
"williamboman/mason-lspconfig.nvim",
opts = {
automatic_installation = true,
ensure_installed = {
"astro",
"svelte",
"tailwindcss",
"rust_analyzer",
"jsonls",
"tsserver",
"html"
},
},
}

View file

@ -3,7 +3,12 @@ return {
opts = function(_, opts) opts = function(_, opts)
-- add more things to the ensure_installed table protecting against community packs modifying it -- add more things to the ensure_installed table protecting against community packs modifying it
opts.ensure_installed = require("astronvim.utils").list_insert_unique(opts.ensure_installed, { opts.ensure_installed = require("astronvim.utils").list_insert_unique(opts.ensure_installed, {
-- "lua" "astro",
"yaml",
"svelte",
"dockerfile",
"json5",
"markdown"
}) })
end, end,
} }