|
@@ -78,7 +78,16 @@ Let's look at some examples.
|
|
|
|
|
|
|
|
### Disabling LSP servers
|
|
### Disabling LSP servers
|
|
|
|
|
|
|
|
-To disable a specific LSP server, set `disabled` to `true`:
|
|
|
|
|
|
|
+To disable **all** LSP servers globally, set `lsp` to `false`:
|
|
|
|
|
+
|
|
|
|
|
+```json title="opencode.json" {3}
|
|
|
|
|
+{
|
|
|
|
|
+ "$schema": "https://opencode.ai/config.json",
|
|
|
|
|
+ "lsp": false
|
|
|
|
|
+}
|
|
|
|
|
+```
|
|
|
|
|
+
|
|
|
|
|
+To disable a **specific** LSP server, set `disabled` to `true`:
|
|
|
|
|
|
|
|
```json title="opencode.json" {5}
|
|
```json title="opencode.json" {5}
|
|
|
{
|
|
{
|