diff options
| author | NullVoxPopuli <LPSego3+dev@gmail.com> | 2021-02-28 16:43:32 -0500 |
|---|---|---|
| committer | Stephan Seitz <stephan.lauf@yahoo.de> | 2021-03-01 01:02:09 +0100 |
| commit | 35369de25a79176d57dfde462d4284bdc201ee9b (patch) | |
| tree | 90244514654f6ad79d4954cd3ee1902d84a965d1 /queries/javascript | |
| parent | 731998199f3c6547e531d8a8bd4e801c2cccb716 (diff) | |
Support the glimmer parser when the `hbs` template literal tag is used
Diffstat (limited to 'queries/javascript')
| -rw-r--r-- | queries/javascript/injections.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/queries/javascript/injections.scm b/queries/javascript/injections.scm index 170acda8..bec0f315 100644 --- a/queries/javascript/injections.scm +++ b/queries/javascript/injections.scm @@ -12,3 +12,9 @@ (#eq? @_name "gql")) arguments: ((template_string) @graphql (#offset! @graphql 0 1 0 -1))) + +(call_expression + function: ((identifier) @_name + (#eq? @_name "hbs")) + arguments: ((template_string) @glimmer + (#offset! @glimmer 0 1 0 -1))) |
