Skip to content

Commit 5b14fb4

Browse files
authored
fix(tui): add Vue syntax highlighting (anomalyco#30802)
1 parent 730ea6d commit 5b14fb4

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

packages/opencode/parsers-config.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,16 @@ export default {
166166
// },
167167
// },
168168
},
169+
{
170+
filetype: "vue",
171+
wasm: "https://github.com/anomalyco/tree-sitter-vue/releases/download/v0.1.2/tree-sitter-vue.wasm",
172+
queries: {
173+
highlights: [
174+
"https://raw.githubusercontent.com/anomalyco/tree-sitter-vue/v0.1.2/queries/html_tags/highlights.scm",
175+
"https://raw.githubusercontent.com/anomalyco/tree-sitter-vue/v0.1.2/queries/vue/highlights.scm",
176+
],
177+
},
178+
},
169179
{
170180
filetype: "hcl",
171181
wasm: "https://github.com/tree-sitter-grammars/tree-sitter-hcl/releases/download/v1.2.0/tree-sitter-hcl.wasm",

0 commit comments

Comments
 (0)