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 5555 function: (scoped_identifier
5656 path: (identifier) @_regex (#any-of? @_regex "Regex" "RegexBuilder")
5757 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+ ])
5964 (#set! injection.language "regex"))
6065
6166(call_expression
6267 function: (scoped_identifier
6368 path: (scoped_identifier (identifier) @_regex (#any-of? @_regex "Regex" "RegexBuilder") .)
6469 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+ ])
6676 (#set! injection.language "regex"))
6777
6878; 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