diff options
| author | Dax Raad <[email protected]> | 2025-08-01 17:03:33 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-08-01 17:03:33 -0400 |
| commit | e1b7e25f4d16e1bee5a3ca91be868c02a538a7d9 (patch) | |
| tree | 89bd7096f11ec2d91acdd3439c5d7e29f75e90fe /packages/web/src/content/docs | |
| parent | 98b6bb218b45b3c2a8a7a1a69e2e715a21321de2 (diff) | |
| download | opencode-e1b7e25f4d16e1bee5a3ca91be868c02a538a7d9.tar.gz opencode-e1b7e25f4d16e1bee5a3ca91be868c02a538a7d9.zip | |
make top_p configurable
Diffstat (limited to 'packages/web/src/content/docs')
| -rw-r--r-- | packages/web/src/content/docs/docs/lsp-servers.mdx | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/packages/web/src/content/docs/docs/lsp-servers.mdx b/packages/web/src/content/docs/docs/lsp-servers.mdx deleted file mode 100644 index b409c8bee..000000000 --- a/packages/web/src/content/docs/docs/lsp-servers.mdx +++ /dev/null @@ -1,34 +0,0 @@ ---- -title: LSP servers ---- - -opencode integrates with _Language Server Protocol_, or LSP to improve how the LLM interacts with your codebase. - -LSP servers for different languages give the LLM: - -- **Diagnostics**: These include things like errors and lint warnings. So the LLM can generate code that has fewer mistakes without having to run the code. -- **Quick actions**: The LSP can allow the LLM to better navigate the codebase through features like _go-to-definition_ and _find references_. - -## Auto-detection - -By default, opencode will **automatically detect** the languages used in your project and add the right LSP servers. - -## Manual configuration - -You can also manually configure LSP servers by adding them under the `lsp` section in your opencode config. - -```json title="opencode.json" -{ - "lsp": { - "go": { - "disabled": false, - "command": "gopls" - }, - "typescript": { - "disabled": false, - "command": "typescript-language-server", - "args": ["--stdio"] - } - } -} -``` |
