can't disable lsp per project #1453

Closed
opened 2026-02-16 17:31:03 -05:00 by yindo · 5 comments
Owner

Originally created by @mirsella on GitHub (Aug 23, 2025).

Originally assigned to: @rekram1-node on GitHub.

hello

i have set

❯ bat opencode.json
{
        "$schema": "https://opencode.ai/config.json",
        "lsp": {
                "rust-analyzer": {
                        "disabled": true
                }
        }
}

in my project root.
launching opencode in this directory, and rust analyzer is still launched after sending a chat

Originally created by @mirsella on GitHub (Aug 23, 2025). Originally assigned to: @rekram1-node on GitHub. hello i have set ``` ❯ bat opencode.json { "$schema": "https://opencode.ai/config.json", "lsp": { "rust-analyzer": { "disabled": true } } } ``` in my project root. launching opencode in this directory, and rust analyzer is still launched after sending a chat
yindo closed this issue 2026-02-16 17:31:03 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Aug 23, 2025):

This issue might be a duplicate of existing issues. Please check:

  • #324: LSP options are not actually existing - This issue describes LSP configuration problems where LSP configuration in opencode.json doesn't work properly

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Aug 23, 2025): This issue might be a duplicate of existing issues. Please check: - #324: LSP options are not actually existing - This issue describes LSP configuration problems where LSP configuration in opencode.json doesn't work properly Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Aug 23, 2025):

I will take a look at this

@rekram1-node commented on GitHub (Aug 23, 2025): I will take a look at this
Author
Owner

@rekram1-node commented on GitHub (Aug 23, 2025):

@mirsella you need to do this:

"lsp": {
                "rust": {
                        "disabled": true
                }
        }
@rekram1-node commented on GitHub (Aug 23, 2025): @mirsella you need to do this: ``` "lsp": { "rust": { "disabled": true } } ```
Author
Owner

@rekram1-node commented on GitHub (Aug 23, 2025):

I will update docs for u

@rekram1-node commented on GitHub (Aug 23, 2025): I will update docs for u
Author
Owner

@mirsella commented on GitHub (Aug 23, 2025):

ohh thanks

@mirsella commented on GitHub (Aug 23, 2025): ohh thanks
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#1453