aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/jsx
Commit message (Collapse)AuthorAge
* Add rainbow tree-sitter highlightsJJ2023-11-01
| | | | | | | ref: https://github.com/helix-editor/helix/issues/695 ref: https://github.com/helix-editor/helix/pull/2857 Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
* Refactor queries for ecma based languages (#7207)Gammut2023-07-09
|
* fix: Improve JSX and TSX tag highlighting (#3973)Jacob Chandler2022-09-26
|
* fix: Improving JSX and TSX indents (#3853)Benjamin Streit2022-09-16
|
* Inherit javascript/typescript from common 'ecma' queries (#3301)Michael Davis2022-08-03
| | | | | | | JavaScript queries now contain a few lines that prevent them from being used whole-sale in typescript with `; inherits: javascript`. Here we follow nvim-treesitter's way of using a fake 'ecma' language as a common base for JavaScript and TypeScript to share as much as we can.
* Add textobject for javascript (#3213)Erasin2022-07-28
|
* separate JSX queries from javascript (#1921)Michael Davis2022-04-02
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`.