nvim-treesitter/queries/ecma
Steve Occhipinti 058e050315 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;
`
```
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 Add a basic styled-components injection 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