mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-25 19:03:30 +04:00
ffdc2f1793
It looks likea24fb17b2a
(and855e438f55
) 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`.
2 lines
23 B
Scheme
2 lines
23 B
Scheme
; inherits: javascript
|