2023-05-03 19:07:59 +09:00
|
|
|
((preproc_def
|
|
|
|
|
(preproc_arg) @injection.content)
|
|
|
|
|
(#lua-match? @injection.content "\n")
|
|
|
|
|
(#set! injection.language "cpp"))
|
2021-03-12 11:21:46 -05:00
|
|
|
|
2023-05-03 19:07:59 +09:00
|
|
|
(preproc_function_def
|
|
|
|
|
(preproc_arg) @injection.content
|
|
|
|
|
(#set! injection.language "cpp"))
|
|
|
|
|
|
|
|
|
|
(preproc_call
|
|
|
|
|
(preproc_arg) @injection.content
|
|
|
|
|
(#set! injection.language "cpp"))
|
|
|
|
|
|
|
|
|
|
((comment) @injection.content
|
|
|
|
|
(#set! injection.language "comment"))
|
2023-01-08 12:15:33 -06:00
|
|
|
|
|
|
|
|
(raw_string_literal
|
2023-05-03 19:07:59 +09:00
|
|
|
delimiter: (raw_string_delimiter) @injection.language
|
|
|
|
|
(raw_string_content) @injection.content)
|