nvim-treesitter/queries/ecma
Steve Occhipinti c6b90ee9bd Handle .attrs() cases
Now that there are 4 cases handled, I thought it probably needs some comments to
show which case each injection is for.

There are other unsupported cases, such as `.withConfig` but I'm not sure if
they all belong here or into their own plugin or something.

The API reference is available here:
https://styled-components.com/docs/api

Also, not sure if there is a more generic way of handling all these cases at
once, a rule that would read: "any template string descendant from 'styled'".

Will attempt to open a PR and get some advice.
2021-11-28 15:02:55 +01:00
..
folds.scm Add generator functions to ecma queries 2021-03-23 23:37:11 +01:00
highlights.scm ecma: highlight private properties and methods 2021-11-25 15:42:24 +01:00
indents.scm fix(ecma): add indents to switch and cases 2021-07-06 09:39:56 +02:00
injections.scm Handle .attrs() cases 2021-11-28 15:02:55 +01:00
locals.scm locals(js,ts): Add parameters again (#1231) 2021-04-28 07:39:14 -05:00