mason + lsp config working
This commit is contained in:
parent
81fbb4ec14
commit
319c66bc0a
9 changed files with 142 additions and 26 deletions
20
lua/plugins/mason-lspconfig.lua
Normal file
20
lua/plugins/mason-lspconfig.lua
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
return {
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
dependencies = { "williamboman/mason.nvim" },
|
||||
config = function()
|
||||
require("mason-lspconfig").setup({
|
||||
-- mason-lspconfig currently expects the legacy name "tsserver"
|
||||
ensure_installed = {
|
||||
"lua_ls",
|
||||
"ts_ls",
|
||||
"html",
|
||||
"cssls",
|
||||
"jsonls",
|
||||
"bashls",
|
||||
"marksman",
|
||||
"intelephense",
|
||||
},
|
||||
automatic_installation = true,
|
||||
})
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue