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

@@ -13,11 +13,15 @@ end
-- <https://wiki.archlinux.org/title/Language_Server_Protocol>
local servers = {
"phpactor", -- PHP
"sqls", -- SQL
"pyright", -- Python
"gopls", -- Go
"html", -- HTML
"cssls", -- CSS
"volar", -- Vue3
-- "ts_ls", -- TypeScript目前暫時不需要先註解掉
"marksman", -- Markdown
"yamlls", -- YAML
}
-- 載入所有的對應的 LSP server 設定