view 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 source

(section
  (name) @namespace)

(option
  (option_name) @keyword)

(path) @string.special.path
(string) @string
(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)