mirror of
https://github.com/elladunbar/tree-sitter-hy.git
synced 2025-11-05 14:59:55 -06:00
Basic functionality
This commit is contained in:
parent
a0e03ddd73
commit
8cd6c4e65d
14 changed files with 9100 additions and 3 deletions
26
queries/highlights.scm
Normal file
26
queries/highlights.scm
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
; 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue