nvim-treesitter/queries/gitcommit/highlights.scm
Christian Clason 5cc5627487 fix(comments)!: consolidate note captures
Distinguishing `hint` and `info` is too confusing; it's enough to have
`error`, `warning`, `todo`, and `note`.
2024-01-20 17:52:50 +01:00

52 lines
681 B
Scheme

(comment) @comment
(generated_comment) @comment
(title) @markup.heading
; (text) @none
(branch) @markup.link
(change) @keyword
(filepath) @string.special.url
(arrow) @punctuation.delimiter
(subject) @markup.heading @spell
(subject
(overflow) @none @spell)
(subject
(subject_prefix) @function @nospell)
(prefix
(type) @keyword @nospell)
(prefix
(scope) @variable.parameter @nospell)
(prefix
[
"("
")"
":"
] @punctuation.delimiter)
(prefix
"!" @punctuation.special)
(message) @spell
(trailer
(token) @label)
; (trailer (value) @none)
(breaking_change
(token) @comment.error)
(breaking_change
(value) @none @spell)
(scissor) @comment