summaryrefslogtreecommitdiff
path: root/runtime/queries/git-commit/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/git-commit/highlights.scm')
-rw-r--r--runtime/queries/git-commit/highlights.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/queries/git-commit/highlights.scm b/runtime/queries/git-commit/highlights.scm
index 20f58ee5..319d7656 100644
--- a/runtime/queries/git-commit/highlights.scm
+++ b/runtime/queries/git-commit/highlights.scm
@@ -10,5 +10,9 @@
(change kind: "modified" @diff.delta)
(change kind: "renamed" @diff.delta.moved)
-[":" "->" (scissors)] @punctuation.delimiter
+(trailer
+ key: (trailer_key) @variable.other.member
+ value: (trailer_value) @string)
+
+[":" "=" "->" (scissors)] @punctuation.delimiter
(comment) @comment