helix-mirror/runtime
Michael Davis ffdc2f1793
separate JSX queries from javascript (#1921)
It looks like a24fb17b2a (and
855e438f55) broke the typescript
highlights because typescript

    ; inherits: javascript

but it doesn't have those named nodes in its grammar.

So instead we can separate out JSX into its own language and copy
over everything from javascript and supplement it with the new
JSX highlights. Luckily there isn't too much duplication, just the
language configuration parts - we can re-use the parser with the
languages.toml `grammar` key and most of the queries with `inherits`.
2022-04-02 10:07:35 +09:00
..
grammars Dynamically load grammar libraries at runtime 2021-07-14 10:00:05 +09:00
queries separate JSX queries from javascript (#1921) 2022-04-02 10:07:35 +09:00
themes Revise the color for ui.cursor.match (#1862) 2022-03-25 15:57:25 +09:00
tutor.txt Continue tutor (#737) 2021-10-16 12:47:45 +09:00