Release Notes: - C/C++ files now support Doxygen grammars (if a Doxygen extension is installed).
17 lines
490 B
Scheme
17 lines
490 B
Scheme
((comment) @injection.content
|
|
(#match? @injection.content "^(///|//!|/\\*\\*|/\\*!)(.*)")
|
|
(#set! injection.language "doxygen")
|
|
(#set! injection.include-children))
|
|
|
|
(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)
|