mirror of
https://github.com/elladunbar/tree-sitter-hy.git
synced 2025-11-05 14:59:55 -06:00
26 lines
386 B
Scheme
26 lines
386 B
Scheme
; highlights.scm
|
|
|
|
; identifiers
|
|
(symbol) @variable
|
|
|
|
; literals
|
|
(string) @string
|
|
(bracket_string) @string
|
|
(integer) @number
|
|
(complex) @number
|
|
(float) @number.float
|
|
|
|
; types
|
|
(keyword) @property
|
|
|
|
; functions
|
|
|
|
; keywords
|
|
(shebang) @keyword.directive
|
|
|
|
; punctuation
|
|
(dotted_identifier "." @punctuation.delimiter)
|
|
["(" ")" "[" "]" "{" "}"] @punctuation.bracket
|
|
|
|
; comments
|
|
(comment) @comment
|