blob: cfc1bf986f8ecc0253678a3d4246b8007ff8a28f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
((comment) @injection.content
(#set! injection.language "comment"))
((call_expression
(type) @_printf
(named_arguments
"("
.
(named_argument
(expression
(string_literal) @injection.content))))
(#eq? @_printf "printf")
(#offset! @injection.content 0 1 0 -1)
(#set! injection.language "printf"))
; TODO: uncomment when asm is added
; ((asm_inline) @injection.content
; (#set! injection.language "asm")
; (#set! injection.combined))
|