diff options
Diffstat (limited to 'queries/gitcommit/highlights.scm')
| -rw-r--r-- | queries/gitcommit/highlights.scm | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/queries/gitcommit/highlights.scm b/queries/gitcommit/highlights.scm new file mode 100644 index 000000000..c44428b0a --- /dev/null +++ b/queries/gitcommit/highlights.scm @@ -0,0 +1,33 @@ +(comment) @comment +(generated_comment) @comment +(title) @text.title +(text) @text +(branch) @text.reference +(change) @keyword +(filepath) @text.uri +(arrow) @punctuation.delimiter + +(subject) @text.title +(subject (overflow) @text) +(prefix (type) @keyword) +(prefix (scope) @parameter) +(prefix [ + "(" + ")" + ":" +] @punctuation.delimiter) +(prefix [ + "!" +] @punctuation.special) + +(message) @text + +(trailer (token) @label) +(trailer (value) @text) + +(breaking_change (token) @text.warning) +(breaking_change (value) @text) + +(scissor) @comment + +(ERROR) @error |
