nvim lsp: 設定好常用的程式語言

This commit is contained in:
2025-05-05 20:11:33 +08:00
parent bf7f000533
commit 5f615e405a
6 changed files with 42 additions and 1 deletions

View File

@@ -6,11 +6,15 @@ require("mason-lspconfig").setup {
ensure_installed = {
-- "lua_ls", "rust_analyzer" -- 官方範例
"phpactor",
"sqls",
"pyright",
"gopls",
"html",
"cssls",
"tsserver",
"volar",
-- "ts_ls",
"marksman",
"yamlls",
},
-- Whether servers that are set up (via lspconfig) should be automatically installed if they're not already installed.