Reverts zed-industries/zed#43581 Release notes: - Fixed comment injections not working with C and C++.
16 lines
391 B
Scheme
16 lines
391 B
Scheme
((comment) @injection.content
|
|
(#set! injection.language "comment")
|
|
)
|
|
|
|
(preproc_def
|
|
value: (preproc_arg) @injection.content
|
|
(#set! injection.language "c++"))
|
|
|
|
(preproc_function_def
|
|
value: (preproc_arg) @injection.content
|
|
(#set! injection.language "c++"))
|
|
|
|
(raw_string_literal
|
|
delimiter: (raw_string_delimiter) @injection.language
|
|
(raw_string_content) @injection.content)
|