diff options
Diffstat (limited to 'runtime/queries/doxygen/highlights.scm')
| -rw-r--r-- | runtime/queries/doxygen/highlights.scm | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/runtime/queries/doxygen/highlights.scm b/runtime/queries/doxygen/highlights.scm new file mode 100644 index 000000000..454500d64 --- /dev/null +++ b/runtime/queries/doxygen/highlights.scm @@ -0,0 +1,61 @@ +((tag_name) @keyword + (#set! priority 105)) + +[ + "@code" + "@endcode" +] @keyword + +(identifier) @variable + +((tag + (tag_name) @_param + (identifier) @variable.parameter) + (#any-of? @_param "@param" "\\param")) + +(function + (identifier) @function) + +(function_link) @function + +(emphasis) @markup.italic + +[ + "\\a" + "\\c" +] @tag + +(code_block_language) @label + +[ + "in" + "out" + "inout" +] @keyword.modifier + +"~" @operator + +[ + "<a" + ">" + "</a>" +] @tag + +[ + "." + "," + "::" + (code_block_start) + (code_block_end) +] @punctuation.delimiter + +[ + "(" + ")" + "{" + "}" + "[" + "]" +] @punctuation.bracket + +(code_block_content) @none |
