Add injections for Isograph function calls
This commit is contained in:
parent
d1958aa439
commit
603a4bef6f
3 changed files with 18 additions and 0 deletions
|
@ -58,3 +58,9 @@
|
|||
arguments: (arguments (template_string (string_fragment) @injection.content
|
||||
(#set! injection.language "graphql")))
|
||||
)
|
||||
|
||||
(call_expression
|
||||
function: (identifier) @_name(#match? @_name "^iso$")
|
||||
arguments: (arguments (template_string (string_fragment) @injection.content
|
||||
(#set! injection.language "isograph")))
|
||||
)
|
||||
|
|
|
@ -58,3 +58,9 @@
|
|||
arguments: (arguments (template_string (string_fragment) @injection.content
|
||||
(#set! injection.language "graphql")))
|
||||
)
|
||||
|
||||
(call_expression
|
||||
function: (identifier) @_name(#match? @_name "^iso$")
|
||||
arguments: (arguments (template_string (string_fragment) @injection.content
|
||||
(#set! injection.language "isograph")))
|
||||
)
|
||||
|
|
|
@ -63,6 +63,12 @@
|
|||
(#set! injection.language "graphql")))
|
||||
)
|
||||
|
||||
(call_expression
|
||||
function: (identifier) @_name(#match? @_name "^iso$")
|
||||
arguments: (arguments (template_string (string_fragment) @injection.content
|
||||
(#set! injection.language "isograph")))
|
||||
)
|
||||
|
||||
;; Angular Component template injection
|
||||
(call_expression
|
||||
function: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue