Vue Syntax highlighting does not work #3923

Open
opened 2026-02-16 17:41:57 -05:00 by yindo · 5 comments
Owner

Originally created by @ZainW on GitHub (Dec 27, 2025).

Originally assigned to: @rekram1-node on GitHub.

Description

I am assuming this is something that is meant to be working considering Vue is supported lsp wise and such

OpenCode version

1.0.204

Steps to reproduce

  1. ask opencode to create/edit a vue file
  2. obeserve that there is no syntax highlighting

Screenshot and/or share link

Image

Operating System

Omarchy :)

Terminal

Ghostty

Originally created by @ZainW on GitHub (Dec 27, 2025). Originally assigned to: @rekram1-node on GitHub. ### Description I am assuming this is something that is meant to be working considering Vue is supported lsp wise and such ### OpenCode version 1.0.204 ### Steps to reproduce 1. ask opencode to create/edit a vue file 2. obeserve that there is no syntax highlighting ### Screenshot and/or share link <img width="2128" height="404" alt="Image" src="https://github.com/user-attachments/assets/0f9917a0-9ff2-486f-8333-d99a7fe3dcb9" /> ### Operating System Omarchy :) ### Terminal Ghostty
yindo added the opentuibug labels 2026-02-16 17:41:57 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 27, 2025):

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

  • #3711: Syntax highlitghing is broken - General syntax highlighting issue in opentui that may be related

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

@github-actions[bot] commented on GitHub (Dec 27, 2025): This issue might be a duplicate of existing issues. Please check: - #3711: Syntax highlitghing is broken - General syntax highlighting issue in opentui that may be related Feel free to ignore if none of these address your specific case.
Author
Owner

@safakdinc commented on GitHub (Jan 16, 2026):

Were you able to solve this problem? I tried several dumb ideas but couldn't find anything useful

@safakdinc commented on GitHub (Jan 16, 2026): Were you able to solve this problem? I tried several dumb ideas but couldn't find anything useful
Author
Owner

@ddawnlll commented on GitHub (Jan 16, 2026):

Hello, i'm currently working on it.
First i'm going to build https://github.com/ikatyang/tree-sitter-vue in wasm and upload to ungpkg.com
After that i'm going to add it to parsers-config.ts file

@ddawnlll commented on GitHub (Jan 16, 2026): Hello, i'm currently working on it. First i'm going to build https://github.com/ikatyang/tree-sitter-vue in wasm and upload to ungpkg.com After that i'm going to add it to parsers-config.ts file
Author
Owner

@ddawnlll commented on GitHub (Jan 16, 2026):

https://www.npmjs.com/package/tree-sitter-vue-wasm

i ported current implementation to wasm.

But it's still not working.

Why there isn't a proper debug suite avaible for syntax-highlighting?

@ZainW i could just add html syntax highlight to vue instead of dealing with that btw.

@ddawnlll commented on GitHub (Jan 16, 2026): https://www.npmjs.com/package/tree-sitter-vue-wasm i ported current implementation to wasm. But it's still not working. Why there isn't a proper debug suite avaible for syntax-highlighting? @ZainW i could just add html syntax highlight to vue instead of dealing with that btw.
Author
Owner

@ZainW commented on GitHub (Jan 19, 2026):

I didn't fix it myself, I tried the html thing too, its janky at best

It's been assigned so just patiently waiting

@ZainW commented on GitHub (Jan 19, 2026): I didn't fix it myself, I tried the html thing too, its janky at best It's been assigned so just patiently waiting
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#3923