From 7617b527ebbbecb6bef31bd8e412906b7159382c Mon Sep 17 00:00:00 2001 From: Dax Raad Date: Thu, 23 Oct 2025 19:20:50 -0400 Subject: [PATCH] core: expand syntax highlighting from 1 to 21 languages for better code readability Updated parser configuration to support highlighting for Python, TypeScript, JavaScript, Rust, Go, C++, C#, Java, Ruby, PHP, Scala, HTML, CSS, Haskell, Julia, OCaml, Bash, C, JSON, JSX, and TSX. Users viewing code in the editor now get proper syntax highlighting instead of monochrome text across all popular languages. --- packages/opencode/parsers-config.json | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/packages/opencode/parsers-config.json b/packages/opencode/parsers-config.json index a26c45190..e770d4fe7 100644 --- a/packages/opencode/parsers-config.json +++ b/packages/opencode/parsers-config.json @@ -200,24 +200,6 @@ "https://raw.githubusercontent.com/nvim-treesitter/nvim-treesitter/refs/heads/master/queries/ocaml/highlights.scm" ] } - }, - { - "filetype": "jsx", - "wasm": "https://github.com/tree-sitter/tree-sitter-javascript/releases/download/v0.25.0/tree-sitter-javascript.wasm", - "queries": { - "highlights": [ - "https://raw.githubusercontent.com/nvim-treesitter/nvim-treesitter/refs/heads/master/queries/javascript/highlights.scm" - ] - } - }, - { - "filetype": "tsx", - "wasm": "https://github.com/tree-sitter/tree-sitter-typescript/releases/download/v0.23.2/tree-sitter-typescript.wasm", - "queries": { - "highlights": [ - "https://raw.githubusercontent.com/nvim-treesitter/nvim-treesitter/refs/heads/master/queries/typescript/highlights.scm" - ] - } } ] }