diff dot_config/helix/runtime/queries/hgrc/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 b2e6175efcad
children 3dc425f9ac53
line wrap: on
line diff
--- a/dot_config/helix/runtime/queries/hgrc/highlights.scm	Wed Jan 03 11:42:18 2024 +0100
+++ b/dot_config/helix/runtime/queries/hgrc/highlights.scm	Wed Jan 03 11:43:45 2024 +0100
@@ -9,3 +9,17 @@
 (bool) @constant.builtin.boolean
 
 (comment) @comment
+
+(template
+  "{" @punctuation.special
+  "}" @punctuation.special)
+
+(template (number) @number)
+(template (bool) @constant.builtin.boolean)
+
+(function) @function
+(keyword) @keyword
+
+(operator) @operator
+
+(string (escape) @constant.character.escape)