disable diagnostics on the fly #8838

Open
opened 2026-02-16 18:10:59 -05:00 by yindo · 3 comments
Owner

Originally created by @Kreijstal on GitHub (Feb 8, 2026).

Originally assigned to: @rekram1-node on GitHub.

Description

imagine you have merge conflict and diagnostics butt in, confusing the llm and wasting tokens, disgusting how to disable all diagnostics?

Plugins

none

OpenCode version

latest

Steps to reproduce

git cherry-pick some python code with thousands of merge conflicts and tell llm to solve conflicts

Screenshot and/or share link

No response

Operating System

arch

Terminal

screen, should be irrelevant

Originally created by @Kreijstal on GitHub (Feb 8, 2026). Originally assigned to: @rekram1-node on GitHub. ### Description imagine you have merge conflict and diagnostics butt in, confusing the llm and wasting tokens, disgusting how to disable all diagnostics? ### Plugins none ### OpenCode version latest ### Steps to reproduce git cherry-pick some python code with thousands of merge conflicts and tell llm to solve conflicts ### Screenshot and/or share link _No response_ ### Operating System arch ### Terminal screen, should be irrelevant
yindo added the bug label 2026-02-16 18:10:59 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Feb 8, 2026):

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

  • #9102: Agents misinterpret LSP diagnostics as failed edits
  • #12288: LSP diagnostics are skipped or delayed under multiple conditions
  • #6310: Sessions become unusable due to large LSP diagnostics (Lua + possibly others)
  • #7227: [FEATURE]: Disable LSP for external directories

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

@github-actions[bot] commented on GitHub (Feb 8, 2026): This issue might be a duplicate of existing issues. Please check: - #9102: Agents misinterpret LSP diagnostics as failed edits - #12288: LSP diagnostics are skipped or delayed under multiple conditions - #6310: Sessions become unusable due to large LSP diagnostics (Lua + possibly others) - #7227: [FEATURE]: Disable LSP for external directories Feel free to ignore if none of these address your specific case.
Author
Owner

@Kreijstal commented on GitHub (Feb 8, 2026):

by disable diagnostics I do not mean the conf since opencode doesn't reload the config I mean on the TUI.

@Kreijstal commented on GitHub (Feb 8, 2026): by disable diagnostics I do not mean the conf since opencode doesn't reload the config I mean on the TUI.
Author
Owner

@rekram1-node commented on GitHub (Feb 8, 2026):

U can do: "lsp": false

Rn you cant disable on the fly

@rekram1-node commented on GitHub (Feb 8, 2026): U can do: "lsp": false Rn you cant disable on the fly
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#8838