File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 55
55
function: (scoped_identifier
56
56
path: (identifier) @_regex (#any-of? @_regex "Regex" "RegexBuilder")
57
57
name: (identifier) @_new (#eq? @_new "new"))
58
- arguments: (arguments (raw_string_literal (string_content) @injection.content ))
58
+ arguments:
59
+ (arguments
60
+ [
61
+ (string_literal (string_content) @injection.content )
62
+ (raw_string_literal (string_content) @injection.content )
63
+ ])
59
64
(#set! injection.language "regex"))
60
65
61
66
(call_expression
62
67
function: (scoped_identifier
63
68
path: (scoped_identifier (identifier) @_regex (#any-of? @_regex "Regex" "RegexBuilder") .)
64
69
name: (identifier) @_new (#eq? @_new "new"))
65
- arguments: (arguments (raw_string_literal (string_content) @injection.content ))
70
+ arguments:
71
+ (arguments
72
+ [
73
+ (string_literal (string_content) @injection.content )
74
+ (raw_string_literal (string_content) @injection.content )
75
+ ])
66
76
(#set! injection.language "regex"))
67
77
68
78
; Highlight SQL in `sqlx: :query!()`, `sqlx: :query_scalar!()`, and `sqlx: :query_scalar_unchecked!()`
You can’t perform that action at this time.
0 commit comments