mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 18:30:06 -04:00
Support the glimmer parser when the hbs template literal tag is used
This commit is contained in:
parent
731998199f
commit
35369de25a
1 changed files with 6 additions and 0 deletions
|
|
@ -12,3 +12,9 @@
|
||||||
(#eq? @_name "gql"))
|
(#eq? @_name "gql"))
|
||||||
arguments: ((template_string) @graphql
|
arguments: ((template_string) @graphql
|
||||||
(#offset! @graphql 0 1 0 -1)))
|
(#offset! @graphql 0 1 0 -1)))
|
||||||
|
|
||||||
|
(call_expression
|
||||||
|
function: ((identifier) @_name
|
||||||
|
(#eq? @_name "hbs"))
|
||||||
|
arguments: ((template_string) @glimmer
|
||||||
|
(#offset! @glimmer 0 1 0 -1)))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue