helix-mods/book
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
..
src separate JSX queries from javascript (#1921) 2022-04-02 10:07:35 +09:00
theme Update mdbook style and fix unreadable table head (#806) 2021-10-09 20:35:27 +09:00
.gitignore Add book/ (mdbook based user guide) 2021-04-05 15:48:08 +09:00
book.toml Improve docs, fix up a few highlight scopes 2021-09-07 13:03:48 +09:00