Logo
Explore Help
Sign In
realAscot/helix-editor
realAscot/helix-editor
1
0
Fork 0
You've already forked helix-editor
mirror of https://github.com/realAscot/helix.git synced 2025-09-14 20:23:03 +02:00
Code Issues Packages Projects Releases Wiki Activity
helix-editor/runtime/queries/jsx/highlights.scm

4 lines
87 B
Scheme
Raw Normal View History

Refactor queries for ecma based languages (#7207)
2023-07-09 11:35:32 -05:00
; See runtime/queries/ecma/README.md for more info.
separate JSX queries from javascript (#1921) It looks like a24fb17b2a978d3165bd6304e9edd69bddb6dd82 (and 855e438f55cb278de8203ac4911561c4c7ad656c) 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-01 20:07:35 -05:00
Refactor queries for ecma based languages (#7207)
2023-07-09 11:35:32 -05:00
; inherits: _jsx,_javascript,ecma
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.5 Page: 101ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API