Basic functionality

This commit is contained in:
E Dunbar 2025-04-18 15:35:24 -05:00
parent a0e03ddd73
commit 8cd6c4e65d
14 changed files with 9100 additions and 3 deletions

26
queries/highlights.scm Normal file
View 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