diff options
| author | Ananda Umamil <zweimach@zweimach.org> | 2024-05-08 00:14:15 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-07 10:14:15 -0700 |
| commit | db034435823045a9544f79883d5d21a406f6dd17 (patch) | |
| tree | 30b08f4eeab0a7f34dd2c5778c261738468e697b /queries | |
| parent | fix(haskell): update queries and tests for rewritten parser (#6580) (diff) | |
| download | nvim-treesitter-db034435823045a9544f79883d5d21a406f6dd17.tar nvim-treesitter-db034435823045a9544f79883d5d21a406f6dd17.tar.gz nvim-treesitter-db034435823045a9544f79883d5d21a406f6dd17.tar.bz2 nvim-treesitter-db034435823045a9544f79883d5d21a406f6dd17.tar.lz nvim-treesitter-db034435823045a9544f79883d5d21a406f6dd17.tar.xz nvim-treesitter-db034435823045a9544f79883d5d21a406f6dd17.tar.zst nvim-treesitter-db034435823045a9544f79883d5d21a406f6dd17.zip | |
fix(ecma): template string injections (#6590)
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/ecma/injections.scm | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/queries/ecma/injections.scm b/queries/ecma/injections.scm index c9d7f5a52..85e0383c3 100644 --- a/queries/ecma/injections.scm +++ b/queries/ecma/injections.scm @@ -9,7 +9,7 @@ (call_expression function: [ (await_expression - (identifier)) @injection.language + (identifier) @injection.language) (identifier) @injection.language ] arguments: [ @@ -31,8 +31,8 @@ (await_expression (identifier) @_name (#eq? @_name "svg")) - (identifier) @_name - (#eq? @_name "svg") + ((identifier) @_name + (#eq? @_name "svg")) ] arguments: [ (arguments @@ -48,8 +48,8 @@ (await_expression (identifier) @_name (#eq? @_name "gql")) - (identifier) @_name - (#eq? @_name "gql") + ((identifier) @_name + (#eq? @_name "gql")) ] arguments: ((template_string) @injection.content (#offset! @injection.content 0 1 0 -1) @@ -61,8 +61,8 @@ (await_expression (identifier) @_name (#eq? @_name "hbs")) - (identifier) @_name - (#eq? @_name "hbs") + ((identifier) @_name + (#eq? @_name "hbs")) ] arguments: ((template_string) @injection.content (#offset! @injection.content 0 1 0 -1) @@ -78,8 +78,8 @@ (await_expression (identifier) @_name (#any-of? @_name "css" "keyframes")) - (identifier) @_name - (#any-of? @_name "css" "keyframes") + ((identifier) @_name + (#any-of? @_name "css" "keyframes")) ] arguments: ((template_string) @injection.content (#offset! @injection.content 0 1 0 -1) |
