-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Prerequisites
- I will write this issue in English (see our Language Policy)
- I have searched existing issues to avoid duplicates
- I am using the latest version of oh-my-opencode
- I have read the documentation or asked an AI coding agent with this project's GitHub URL loaded and couldn't find the answer
Bug Description
The LSP tools report that .md has no configured server, even though marksman is configured in user config and is loaded in the UI/sidebar.
Observed behavior suggests the LSP tool runtime resolves config file paths using .json filenames only for server loading, while the environment uses .jsonc files.
$ which marksman
${HOME}/bin/marksmanSteps to Reproduce
- Ensure user config exists only as JSONC:
~/.config/opencode/opencode.jsonc~/.config/opencode/oh-my-opencode.jsonc- no same-name
.jsonfiles
- Configure
marksmanin JSONC config underlspwith.mdextension. - Call
lsp_diagnosticson a Markdown file (example:README.md).
Expected Behavior
LSP tools should discover marksman for .md and run diagnostics/symbol operations.
Actual Behavior
lsp_diagnostics returns:
No LSP server configured for extension: .md
and lists available servers without marksman.
Doctor Output
Installation
────────────────────────────────────────
✓ OpenCode Installation → 1.1.56
✓ Plugin Registration → Registered
Configuration
────────────────────────────────────────
✓ Configuration Validity → Valid JSONC config
✓ Model Resolution → 10 agents, 8 categories (15 overrides), 2521 available
Authentication
────────────────────────────────────────
✓ Anthropic (Claude) Auth → Auth plugin available
○ OpenAI (ChatGPT) Auth → Auth plugin not installed
○ Google (Gemini) Auth → Auth plugin not installed
Dependencies
────────────────────────────────────────
✓ AST-Grep CLI → installed
✓ AST-Grep NAPI → installed
✓ Comment Checker
Tools & Servers
────────────────────────────────────────
✓ GitHub CLI → 2.86.0 - authenticated as COLDTURNIP
✓ LSP Servers → 2/4 servers available
✓ Built-in MCP Servers → 2 built-in servers enabled
○ User MCP Configuration → No user MCP configuration found
○ MCP OAuth Tokens → No OAuth tokens configured
Updates
────────────────────────────────────────
✓ Version Status → Up to date (3.5.2)
Summary
────────────────────────────────────────
12 passed, 0 failed, 0 warnings, 4 skipped
Total: 16 checks in 1568ms
✓ All systems operational!Error Logs
No LSP server configured for extension: .md
Available servers: typescript, deno, vue, eslint, oxlint, biome, gopls, ruby-lsp, basedpyright, pyright...
To add a custom server, configure 'lsp' in oh-my-opencode.json:Configuration
{
"$schema": "https://raw.githubusercontent.com/code-yeongyu/oh-my-opencode/master/assets/oh-my-opencode.schema.json",
"agents": {
...
},
"categories": {
...
},
"disabled_skills": ["playwright", "frontend-ui-ux"],
"git_master": {
"commit_footer": false,
"include_co_authored_by": false,
},
}Additional Context
No response
Operating System
Linux
OpenCode Version
1.1.56
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working