mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
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.
This commit is contained in:
parent
78922a38a8
commit
7617b527eb
1 changed files with 0 additions and 18 deletions
|
|
@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue