nvim: 添加所需要的程式語言,並把官方設定範例抄過來

This commit is contained in:
2025-05-05 19:55:44 +08:00
parent 7594bbc120
commit f0a8c49074
5 changed files with 58 additions and 8 deletions

View File

@@ -10,12 +10,12 @@ local on_attach = function(_, bufnr)
end
local servers = {
"phpactor",
"pyright",
"gopls",
"html",
"cssls",
-- "tsserver", -- TODO: tsserver is deprecated, use ts_ls instead.
"phpactor", -- PHP
"pyright", -- Python
"gopls", -- Go
"html", -- HTML
"cssls", -- CSS
-- "ts_ls", -- TypeScript目前暫時不需要先註解掉
}
-- 載入所有的對應的 LSP server 設定