diff options
| author | Aiden Cline <[email protected]> | 2025-08-09 11:04:58 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-08-09 11:04:58 -0500 |
| commit | 1954b59167d0c743efa2fb3a0a47e57a025b4221 (patch) | |
| tree | 6a4f4f4c061145ed357c2c262ff59ccc3c8dba34 /packages/web/src/content/docs | |
| parent | e2fac991dc292053e835fc1dd7c25aaf025240f1 (diff) | |
| download | opencode-1954b59167d0c743efa2fb3a0a47e57a025b4221.tar.gz opencode-1954b59167d0c743efa2fb3a0a47e57a025b4221.zip | |
feat: eslint lsp (#1744)
Diffstat (limited to 'packages/web/src/content/docs')
| -rw-r--r-- | packages/web/src/content/docs/docs/lsp.mdx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/packages/web/src/content/docs/docs/lsp.mdx b/packages/web/src/content/docs/docs/lsp.mdx index 4783683bb..76edad3ee 100644 --- a/packages/web/src/content/docs/docs/lsp.mdx +++ b/packages/web/src/content/docs/docs/lsp.mdx @@ -11,9 +11,10 @@ opencode integrates with your Language Server Protocol (LSP) to help the LLM int opencode comes with several built-in LSP servers for popular languages: -| LSP Server | Extensions | Requirements | +| LSP Server | Extensions | Requirements | | ---------- | -------------------------------------------- | ----------------------------------- | | typescript | .ts, .tsx, .js, .jsx, .mjs, .cjs, .mts, .cts | `typescript` dependency in project | +| eslint | .ts, .tsx, .js, .jsx, .mjs, .cjs, .mts, .cts | `eslint` dependency in project | | gopls | .go | `go` command available | | ruby-lsp | .rb, .rake, .gemspec, .ru | `ruby` and `gem` commands available | | pyright | .py, .pyi | `pyright` dependency installed | @@ -41,7 +42,7 @@ You can customize LSP servers through the `lsp` section in your opencode config. ```json title="opencode.json" { "$schema": "https://opencode.ai/config.json", - "lsp": { } + "lsp": {} } ``` @@ -49,7 +50,7 @@ Each LSP server supports the following: | Property | Type | Description | | ---------------- | -------- | ------------------------------------------------- | -| `disabled` | boolean | Set this to `true` to disable the LSP server | +| `disabled` | boolean | Set this to `true` to disable the LSP server | | `command` | string[] | The command to start the LSP server | | `extensions` | string[] | File extensions this LSP server should handle | | `env` | object | Environment variables to set when starting server | |
