Skip to main content

HIGHLIGHTS_QUERY

Constant HIGHLIGHTS_QUERY 

Source
pub const HIGHLIGHTS_QUERY: &str = "(comment) @comment\n\n(generated_comment) @comment\n\n(title) @markup.heading\n\n; (text) @none\n(branch) @markup.link\n\n(change) @keyword\n\n(filepath) @string.special.url\n\n(arrow) @punctuation.delimiter\n\n(subject) @markup.heading @spell\n\n(subject\n  (subject_prefix) @function @nospell)\n\n(prefix\n  (type) @keyword @nospell)\n\n(prefix\n  (scope) @variable.parameter @nospell)\n\n(prefix\n  [\n   \"(\"\n   \")\"\n   \":\"\n   ] @punctuation.delimiter)\n\n(prefix\n  \"!\" @punctuation.special)\n\n(message) @spell\n\n(trailer\n  (token) @label)\n\n; (trailer (value) @none)\n(breaking_change\n  (token) @comment.error)\n\n(breaking_change\n  (value) @none @spell)\n\n(scissor) @comment\n";
Expand description

The syntax highlighting query for this language.