Release Notes: - Added comment language injections for builtin languages. This enables highlighting of `TODO`s and similar notes with the comment extension installed. Signed-off-by: Donnie Adams <donnie@thedadams.com>
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)
|