diff options
| author | Steve Occhipinti <dev@stevenocchipinti.com> | 2021-07-25 15:35:17 +1000 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2021-11-28 15:02:55 +0100 |
| commit | 058e05031579b4a46afb07b9d18704b806878ae6 (patch) | |
| tree | 5c2c6184ef58a48e84b939ddaaf315de655d9865 /queries/python | |
| parent | yaml(injections): Also add heuristics for Gitlab CI bash (diff) | |
| download | nvim-treesitter-058e05031579b4a46afb07b9d18704b806878ae6.tar nvim-treesitter-058e05031579b4a46afb07b9d18704b806878ae6.tar.gz nvim-treesitter-058e05031579b4a46afb07b9d18704b806878ae6.tar.bz2 nvim-treesitter-058e05031579b4a46afb07b9d18704b806878ae6.tar.lz nvim-treesitter-058e05031579b4a46afb07b9d18704b806878ae6.tar.xz nvim-treesitter-058e05031579b4a46afb07b9d18704b806878ae6.tar.zst nvim-treesitter-058e05031579b4a46afb07b9d18704b806878ae6.zip | |
Add a basic styled-components injection
I've never written this sort of code before but I was able to get this to work
with the help of copy and paste and using nvim-treesitter/playground.
I had a hard time trying to understand how to indent this style of code so I let
vim do it with `=` and 2 spaces seems to match other files I looked at.
This works for a basic example, like this:
```
const Layout = styled.div`
position: absolute;
inset: 0;
display: grid;
grid-template-rows: 100px 1fr 3rem;
`
```
Diffstat (limited to 'queries/python')
0 files changed, 0 insertions, 0 deletions
