GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(opencode): fix Clojure syntax highlighting by finalfantasia · Pull Request #13453 · anomalyco/opencode

Conversation

@finalfantasia

@finalfantasia finalfantasia commented Feb 13, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

What does this PR do?

Clojure syntax highlighting hasn't been working even though the feature was requested in #3926 and, later, added in #3912. This is due to the original feature PR referencing a nonexistent WASM artifact that was expected to be hosted and provided in the repo, that hosts the Clojure tree-sitter grammar and parser sources but doesn't provide such artifacts.

This PR fixes this by switching to using an auto-generated WASM artifact (using the official and shared tree-sitter GitHub Actions workflows) hosted and provided in my own repo forked from the original.

Fixes #11279.

How did you verify your code works?

BEFORE

Screenshot 2026-02-13 at 9 21 54 AM

AFTER

Screenshot 2026-02-13 at 9 22 37 AM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ericstewart, reifying, garrett-hopper, deejayem, asdfiq, olymk2, and zbear0808 reacted with thumbs up emoji
All reactions
  • 👍 7 reactions
@github-actions

github-actions Bot commented Feb 13, 2026

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

Based on my search, I found one potentially related PR:

Related PR:

  • PR feat(opencode): add cljfmt formatter support for Clojure files #13426: feat(opencode): add cljfmt formatter support for Clojure files
    • feat(opencode): add cljfmt formatter support for Clojure files #13426
    • This PR also addresses Clojure support in the codebase, though it focuses on formatter support rather than syntax highlighting. It may be related work or complementary to the syntax highlighting fix.

No duplicate PRs found addressing the same Clojure syntax highlighting issue (other than the current PR #13453).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@finalfantasia
finalfantasia force-pushed the fix/clojure-syntax-highlighting branch 2 times, most recently from 9c6c745 to a825b6c Compare February 13, 2026 17:26
@finalfantasia
finalfantasia marked this pull request as ready for review February 13, 2026 17:47
@rekram1-node

rekram1-node commented Feb 15, 2026

Copy link
Copy Markdown
Member

Kinda hesistant to point at random repos even if they are made by well meaning people.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rekram1-node

rekram1-node commented Feb 15, 2026

Copy link
Copy Markdown
Member

Perhaps we should maintain our own fork of it. and I can merge ur commits into that

finalfantasia reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rekram1-node

rekram1-node commented Feb 15, 2026

Copy link
Copy Markdown
Member

Made a fork:
https://github.com/anomalyco/tree-sitter-clojure

finalfantasia reacted with heart emoji
All reactions
  • ❤️ 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@finalfantasia

finalfantasia commented Feb 15, 2026

Copy link
Copy Markdown
Contributor Author

Kinda hesistant to point at random repos even if they are made by well meaning people.

I understand, no worries. 😉

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@finalfantasia

finalfantasia commented Feb 15, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Perhaps we should maintain our own fork of it. and I can merge ur commits into that

Yes, that sounds good to me! 👍 As long as we can get Clojure syntax-highlighting working in OpenCode, I don't really mind where this code lives. 😁

I'll submit a PR to the new repo tonight and update the WASM URL in this PR to point it at the artifact in the new repo.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@finalfantasia
finalfantasia force-pushed the fix/clojure-syntax-highlighting branch from a825b6c to 410b8f1 Compare February 17, 2026 21:24
@finalfantasia
fix(opencode): fix Clojure syntax highlighting.
1f211c5
@finalfantasia
finalfantasia force-pushed the fix/clojure-syntax-highlighting branch from 410b8f1 to 1f211c5 Compare February 17, 2026 21:26
@finalfantasia

finalfantasia commented Feb 17, 2026

Copy link
Copy Markdown
Contributor Author

@rekram1-node both anomalyco/tree-sitter-clojure#1 and this PR are ready for review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@rekram1-node
Change Clojure WASM URL to temporary fork
54345dc
Updated Clojure WASM URL to use a temporary fork for fixes.
@rekram1-node
rekram1-node merged commit e96f638 into anomalyco:dev Feb 18, 2026
4 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@finalfantasia
finalfantasia deleted the fix/clojure-syntax-highlighting branch March 5, 2026 08:03
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request May 5, 2026
@finalfantasia @rekram1-node
fix(opencode): fix Clojure syntax highlighting (anomalyco#13453)
25d69ad
Co-authored-by: Aiden Cline <[email protected]>
AIALRA-0 pushed a commit to AIALRA-0/opencode-turn-engine that referenced this pull request Jun 10, 2026
@finalfantasia @rekram1-node
fix(opencode): fix Clojure syntax highlighting (anomalyco#13453)
297db90
Co-authored-by: Aiden Cline <[email protected]>
Rwanbt pushed a commit to Rwanbt/unifia that referenced this pull request Jun 14, 2026
@finalfantasia @rekram1-node
fix(opencode): fix Clojure syntax highlighting (anomalyco#13453)
e328a0d
Co-authored-by: Aiden Cline <[email protected]>
MarsQiu007 referenced this pull request in MarsQiu007/openNovel Jul 31, 2026
@finalfantasia @rekram1-node
fix(opencode): fix Clojure syntax highlighting (#13453)
2543752
Co-authored-by: Aiden Cline <[email protected]>
meSingh pushed a commit to meSingh/opencode that referenced this pull request Sep 6, 2026
@finalfantasia @rekram1-node
fix(opencode): fix Clojure syntax highlighting (anomalyco#13453)
59d5ddf
Co-authored-by: Aiden Cline <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Clojure syntax highlighting support is broken

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@finalfantasia @rekram1-node
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.