chore: query formatting

This commit is contained in:
Pham Huy Hoang 2024-01-06 15:05:50 +09:00 committed by Christian Clason
parent 79975d6557
commit 57a8acf0c4
674 changed files with 18466 additions and 12648 deletions

View file

@ -1,32 +1,52 @@
(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 [
(subject
(overflow) @none @spell)
(subject
(subject_prefix) @function @nospell)
(prefix
(type) @keyword @nospell)
(prefix
(scope) @variable.parameter @nospell)
(prefix
[
"("
")"
":"
] @punctuation.delimiter)
(prefix [
"!"
] @punctuation.special)
] @punctuation.delimiter)
(prefix
"!" @punctuation.special)
(message) @spell
(trailer (token) @label)
; (trailer (value) @none)
(trailer
(token) @label)
(breaking_change (token) @comment.warning)
(breaking_change (value) @none @spell)
; (trailer (value) @none)
(breaking_change
(token) @comment.warning)
(breaking_change
(value) @none @spell)
(scissor) @comment

View file

@ -1,5 +1,5 @@
((diff) @injection.content
(#set! injection.language "diff"))
(#set! injection.language "diff"))
((rebase_command) @injection.content
(#set! injection.language "git_rebase"))
((rebase_command) @injection.content
(#set! injection.language "git_rebase"))