diff options
| author | Steve Occhipinti <dev@stevenocchipinti.com> | 2021-07-25 16:10:58 +1000 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2021-11-28 15:02:55 +0100 |
| commit | c6b90ee9bd5118aeed32b4717afc56dd7c97be53 (patch) | |
| tree | 35f2ebf2a2c0d7c9be961f58683bdb0a53475b2a /queries/python | |
| parent | Support both styled.div and styled(Component) (diff) | |
| download | nvim-treesitter-c6b90ee9bd5118aeed32b4717afc56dd7c97be53.tar nvim-treesitter-c6b90ee9bd5118aeed32b4717afc56dd7c97be53.tar.gz nvim-treesitter-c6b90ee9bd5118aeed32b4717afc56dd7c97be53.tar.bz2 nvim-treesitter-c6b90ee9bd5118aeed32b4717afc56dd7c97be53.tar.lz nvim-treesitter-c6b90ee9bd5118aeed32b4717afc56dd7c97be53.tar.xz nvim-treesitter-c6b90ee9bd5118aeed32b4717afc56dd7c97be53.tar.zst nvim-treesitter-c6b90ee9bd5118aeed32b4717afc56dd7c97be53.zip | |
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.
Diffstat (limited to 'queries/python')
0 files changed, 0 insertions, 0 deletions
