Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/git-commit/highlights.scm')
| -rw-r--r-- | runtime/queries/git-commit/highlights.scm | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/runtime/queries/git-commit/highlights.scm b/runtime/queries/git-commit/highlights.scm index bc84d037..319d7656 100644 --- a/runtime/queries/git-commit/highlights.scm +++ b/runtime/queries/git-commit/highlights.scm @@ -1,18 +1,18 @@ -[(comment) (generated_comment) (scissor)] @comment (subject) @markup.heading +(path) @string.special.path (branch) @string.special.symbol -(filepath) @string.special.path -(arrow) @punctuation.delimiter -(subject (subject_prefix) @function) -(prefix (type) @keyword) -(prefix (scope) @variable.parameter) -(prefix [ "(" ")" ":" ] @punctuation.delimiter) -(prefix "!" @punctuation.special) -(trailer (token) @variable.other.member) -(trailer (value) @string) -(breaking_change (token) @special) +(commit) @constant +(item) @markup.link.url +(header) @tag -(change kind: (new)) @diff.plus -(change kind: (deleted)) @diff.minus -(change kind: (modified)) @diff.delta -(change kind: [(renamed) (typechange)]) @diff.delta.moved +(change kind: "new file" @diff.plus) +(change kind: "deleted" @diff.minus) +(change kind: "modified" @diff.delta) +(change kind: "renamed" @diff.delta.moved) + +(trailer + key: (trailer_key) @variable.other.member + value: (trailer_value) @string) + +[":" "=" "->" (scissors)] @punctuation.delimiter +(comment) @comment |