1
0
mirror of https://github.com/helix-editor/helix synced 2026-03-08 21:06:21 +01:00
helix/runtime/queries/jjtemplate/highlights.scm

17 lines
503 B
Scheme

(function ((identifier) @function))
; method calls
(term (_) ("." @punctuation) ((function ((identifier) @function.method))))
["(" ")"] @punctuation.bracket
"," @punctuation.delimiter
((identifier) @keyword.control.conditional (#eq? @keyword.control.conditional "if"))
((identifier) @keyword.control.repeat (#eq? @keyword.control.repeat "for"))
(term ((identifier) @variable))
[(infix_ops) "++"] @operator
[(string_literal) (raw_string_literal)] @string
(integer_literal) @constant.numeric.integer