doc nvim lsp

This commit is contained in:
Yuan Chiu 2025-05-05 19:58:15 +08:00
parent f0a8c49074
commit bf7f000533

View File

@ -9,6 +9,8 @@ local on_attach = function(_, bufnr)
map("n", "K", vim.lsp.buf.hover) map("n", "K", vim.lsp.buf.hover)
end end
-- 程式語言所需要的與語言伺服器名稱對照表
-- <https://wiki.archlinux.org/title/Language_Server_Protocol>
local servers = { local servers = {
"phpactor", -- PHP "phpactor", -- PHP
"pyright", -- Python "pyright", -- Python