aboutsummaryrefslogtreecommitdiffstats
path: root/queries/gitcommit
diff options
context:
space:
mode:
Diffstat (limited to 'queries/gitcommit')
-rw-r--r--queries/gitcommit/highlights.scm22
1 files changed, 11 insertions, 11 deletions
diff --git a/queries/gitcommit/highlights.scm b/queries/gitcommit/highlights.scm
index 9c70e19b5..d475021c2 100644
--- a/queries/gitcommit/highlights.scm
+++ b/queries/gitcommit/highlights.scm
@@ -1,17 +1,17 @@
(comment) @comment
(generated_comment) @comment
-(title) @text.title
-(text) @text
-(branch) @text.reference
+(title) @markup.heading
+; (text) @none
+(branch) @markup.link
(change) @keyword
-(filepath) @text.uri
+(filepath) @string.special.url
(arrow) @punctuation.delimiter
-(subject) @text.title @spell
-(subject (overflow) @text @spell)
+(subject) @markup.heading @spell
+(subject (overflow) @none @spell)
(subject (subject_prefix) @function @nospell)
(prefix (type) @keyword @nospell)
-(prefix (scope) @parameter @nospell)
+(prefix (scope) @variable.parameter @nospell)
(prefix [
"("
")"
@@ -21,12 +21,12 @@
"!"
] @punctuation.special)
-(message) @text @spell
+(message) @spell
(trailer (token) @label)
-(trailer (value) @text)
+; (trailer (value) @none)
-(breaking_change (token) @text.warning)
-(breaking_change (value) @text @spell)
+(breaking_change (token) @comment.warning)
+(breaking_change (value) @none @spell)
(scissor) @comment