opencode: more LSP servers

This commit is contained in:
Mathias Schneider
2026-09-17 11:24:36 +02:00
parent cc3ddf7920
commit 3517bad26c
+48
View File
@@ -7,6 +7,54 @@
"pyright": { "pyright": {
"command": ["pyright-langserver", "--stdio"], "command": ["pyright-langserver", "--stdio"],
"extensions": [".py"] "extensions": [".py"]
},
"typescript": {
"command": ["typescript-language-server", "--stdio"],
"extensions": [".js", ".jsx", ".mjs", ".cjs", ".ts", ".tsx"]
},
"vue": {
"command": ["vue-language-server", "--stdio"],
"extensions": [".vue"]
},
"rust": {
"command": ["rust-analyzer"],
"extensions": [".rs"]
},
"bash": {
"command": ["bash-language-server", "start"],
"extensions": [".sh", ".bash"]
},
"json": {
"command": ["vscode-json-language-server", "--stdio"],
"extensions": [".json", ".jsonc"]
},
"yaml": {
"command": ["yaml-language-server", "--stdio"],
"extensions": [".yaml", ".yml"]
},
"html": {
"command": ["vscode-html-language-server", "--stdio"],
"extensions": [".html", ".htm"]
},
"css": {
"command": ["vscode-css-language-server", "--stdio"],
"extensions": [".css", ".scss", ".less"]
},
"go": {
"command": ["gopls", "serve"],
"extensions": [".go"]
},
"clangd": {
"command": ["clangd"],
"extensions": [".c", ".h", ".cc", ".cpp", ".cxx", ".hpp"]
},
"lua": {
"command": ["lua-language-server"],
"extensions": [".lua"]
},
"markdown": {
"command": ["marksman", "server"],
"extensions": [".md", ".markdown"]
} }
}, },