feat(injections): add printf format strings

This commit is contained in:
ObserverOfTime 2023-08-19 19:28:45 +03:00 committed by Christian Clason
parent 5b90ea2aba
commit 17fae3f4a3
13 changed files with 181 additions and 0 deletions

View file

@ -6,5 +6,10 @@
(#eq? @_re "re")
(#set! injection.language "regex"))
((binary_operator
left: (string (string_content) @injection.content)
operator: "%")
(#set! injection.language "printf"))
((comment) @injection.content
(#set! injection.language "comment"))