[PR #13453] fix(opencode): fix Clojure syntax highlighting #14676

Open
opened 2026-02-16 18:19:27 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13453

State: open
Merged: No


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
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13453 **State:** open **Merged:** No --- ### 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](https://github.com/sogaiu/tree-sitter-clojure), 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](https://github.com/finalfantasia/tree-sitter-clojure) forked from [the original](https://github.com/sogaiu/tree-sitter-clojure). Fixes #11279. ### How did you verify your code works? #### BEFORE <img width="1512" height="949" alt="Screenshot 2026-02-13 at 9 21 54 AM" src="https://github.com/user-attachments/assets/21ce9a90-8877-48f0-b3ed-880259bd1406" /> #### AFTER <img width="1512" height="949" alt="Screenshot 2026-02-13 at 9 22 37 AM" src="https://github.com/user-attachments/assets/fb65fc6b-08ff-4561-b394-5d29cebf416c" />
yindo added the pull-request label 2026-02-16 18:19:27 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14676