Mercurial > dotfiles
diff dot_config/helix/runtime/queries/hg-commit/highlights.scm @ 828:2033a1460dbc
feat: add hg-commit and hgrc tree-sitter grammars and highlights
author | zegervdv <zegervdv@me.com> |
---|---|
date | Wed, 03 Jan 2024 11:43:45 +0100 |
parents | |
children |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dot_config/helix/runtime/queries/hg-commit/highlights.scm Wed Jan 03 11:43:45 2024 +0100 @@ -0,0 +1,19 @@ +(subject) @markup.heading +(path) @string.special.path +(commit) @constant +(item) @markup.link.url + +(change kind: "added" @diff.plus) +(change kind: "removed" @diff.minus) +(change kind: "changed" @diff.delta) + +(meta + key: (meta_key) @type + value: (meta_value) @string) + +(trailer + key: (trailer_key) @variable.other.member + value: (trailer_value) @string) + +[":" "=" "->" (scissors)] @punctuation.delimiter +(comment) @comment