injections: add more regex injections

This commit is contained in:
ObserverOfTime 2022-11-26 14:27:21 +02:00 committed by Stephan Seitz
parent 5aacb06135
commit 9018fb26cc
5 changed files with 12 additions and 1 deletions

View file

@ -6,3 +6,8 @@
(line_comment)
(block_comment)
] @comment
((prefixed_string_literal
prefix: (identifier) @_prefix) @regex
(#eq? @_prefix "r")
(#offset! @regex 0 2 0 -1))