Explorar o código

fix(tui): add Vue syntax highlighting (#30802)

Aiden Cline hai 2 meses
pai
achega
5b14fb4a1b
Modificáronse 1 ficheiros con 10 adicións e 0 borrados
  1. 10 0
      packages/opencode/parsers-config.ts

+ 10 - 0
packages/opencode/parsers-config.ts

@@ -166,6 +166,16 @@ export default {
       //   },
       // },
     },
+    {
+      filetype: "vue",
+      wasm: "https://github.com/anomalyco/tree-sitter-vue/releases/download/v0.1.2/tree-sitter-vue.wasm",
+      queries: {
+        highlights: [
+          "https://raw.githubusercontent.com/anomalyco/tree-sitter-vue/v0.1.2/queries/html_tags/highlights.scm",
+          "https://raw.githubusercontent.com/anomalyco/tree-sitter-vue/v0.1.2/queries/vue/highlights.scm",
+        ],
+      },
+    },
     {
       filetype: "hcl",
       wasm: "https://github.com/tree-sitter-grammars/tree-sitter-hcl/releases/download/v1.2.0/tree-sitter-hcl.wasm",