view dot_config/helix/runtime/queries/hgrc/highlights.scm @ 830:3dc425f9ac53

feat: inject regex grammar into hgrc
author zegervdv <zegervdv@me.com>
date Sat, 06 Jan 2024 10:57:41 +0100
parents 2033a1460dbc
children
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)

(regex) @string