feat: add re2c

This commit is contained in:
Amaan Qureshi 2023-08-22 02:10:29 -04:00
parent 05fe2c38a3
commit c58694685d
11 changed files with 245 additions and 3 deletions

View file

@ -37,3 +37,7 @@
arguments: (arguments
(raw_string_literal) @injection.content)
(#set! injection.language "regex"))
((block_comment) @injection.content
(#match? @injection.content "/\*!([a-zA-Z]+:)?re2c")
(#set! injection.language "re2c"))