igor-ramazanov / kak-tree-sitter-helix

Generate kak-tree-sitter grammars, queries and themes using Helix.
6 stars 1 forks source link

Typescript and Javascript highlighting don't work #34

Open Yappaholic opened 2 months ago

Yappaholic commented 2 months ago

Every other language highlighting is working well, but there is no highlighting for Typescript and Javascript

Tree-sitter logs:

shell stderr: <<<
tree-sitter 2024-08-02T18:47:50.626020392+00:00 (kak_tree_sitter_config) [DEBUG]: loading default configuration
tree-sitter 2024-08-02T18:47:50.628035544+00:00 (kak_tree_sitter_config) [DEBUG]: loading user configuration
tree-sitter 2024-08-02T18:47:50.628054115+00:00 (kak_tree_sitter_config) [DEBUG]: loading configuration at /home/savvy/.config/kak-tree-sitter/config.toml
tree-sitter 2024-08-02T18:47:50.642956725+00:00 (kak_tree_sitter) [DEBUG]: server already running, but initiating first session 239558
tree-sitter 2024-08-02T18:47:50.643000542+00:00 (kak_tree_sitter::client) [DEBUG]: connected to KTS
>>>
igor-ramazanov commented 1 month ago

Yeah, I haven't verified them yet, but it looks like Typescript and Javascript both share somewhat special handling in Helix, because there's also TSX and JSX which treated as different languages or e.g. Vue has its own language server, etc.

I haven't spent time on it yet, but, yeah, I am aware of the issue.