Add injection queries for macro bodies in C and C++

This commit is contained in:
Max Brunsfeld 2022-08-24 16:37:14 -07:00
parent 61b70b7e2d
commit f96c19b81a
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,7 @@
(preproc_def
value: (preproc_arg) @content
(#set! "language" "c"))
(preproc_function_def
value: (preproc_arg) @content
(#set! "language" "c"))

View file

@ -0,0 +1,7 @@
(preproc_def
value: (preproc_arg) @content
(#set! "language" "c++"))
(preproc_function_def
value: (preproc_arg) @content
(#set! "language" "c++"))