Commit Graph

5 Commits (60a03a35c62c2d1092a5121ce3146be5a71c0ee7)

Author SHA1 Message Date
Michael Davis 5952d564d1
Reverse highlight precedence ordering (#9458)
Co-authored-by: postsolar <120750161+postsolar@users.noreply.github.com>
Co-authored-by: Iorvethe <58810330+Iorvethe@users.noreply.github.com>
Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
Co-authored-by: gabydd <gabydinnerdavid@gmail.com>
2025-02-02 18:17:10 -06:00
uncenter e856dde738
Use `@attribute` scope for JSX attributes (#12416) 2025-01-05 16:33:08 -06:00
Arthur Deierlein 61f7d9ce2f
fix typo "braket" in jsx highlights (#9910) 2024-03-17 17:36:54 -05:00
woojiq 7cda5b8592
build(tree-sitter): update javascript, typescript and tsx (#7852)
* build(tree-sitter): update javascript, typescript and tsx

* update revision of tree-sitter parsers for these languages.
* rename `?.` to `optional_chain`, introduced in tree-sitter/tree-sitter-javascript@186f2adbf7.

* fix(highlight): change jsx queries to match latest tree-sitter

Latest tree-sitter/tree-sitter-javascript@bb1f97b643 added some breaking changes that broke highlighting.
* Remove some queries with `nested_identifier`.
* Remove deprecated `jsx_fragment` from indent query.
* Count `</` and `/>` as a single token.
2023-08-07 14:07:56 -05:00
Gammut 607b426e26
Refactor queries for ecma based languages (#7207) 2023-07-09 18:35:32 +02:00