fix lsp
This commit is contained in:
parent
bc15b5bca3
commit
4564d7093e
8 changed files with 278 additions and 210 deletions
21
lua/plugins/mason.lua
Normal file
21
lua/plugins/mason.lua
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
|
||||
-- lua/plugins/mason.lua
|
||||
return {
|
||||
{
|
||||
"williamboman/mason.nvim",
|
||||
lazy = false,
|
||||
config = function()
|
||||
require("mason").setup()
|
||||
end,
|
||||
},
|
||||
{
|
||||
"williamboman/mason-lspconfig.nvim",
|
||||
lazy = false,
|
||||
dependencies = { "williamboman/mason.nvim" },
|
||||
opts = {
|
||||
ensure_installed = { "gopls", "ts_ls", "templ", "astro" },
|
||||
automatic_installation = true,
|
||||
automatic_setup = false, -- IMPORTANT: don't auto-setup servers
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue