partially working

This commit is contained in:
2026-03-05 22:14:17 -08:00
parent bb510fea4a
commit 7518c95769
9 changed files with 25288 additions and 10048 deletions

21
queries/highlights.scm Normal file
View File

@@ -0,0 +1,21 @@
[
"let"
; "in"
"where"
; "case" "of"
"data"
;"U"
"do"
"ptype" "pfunc"
"module"
; "infixl" "infixr" "infix"
"∀" ; "forall"
"import"
"uses" "derive"
"class" "instance" ;"record" "constructor"
"if" "then" "else"
"|" "<-" "=>" "$" ":"
] @keyword
(comment) @comment
(string) @string
(jsLitString) @string

9
queries/locals.scm Normal file
View File

@@ -0,0 +1,9 @@
; what is all this, should I push it in?
(sigDecl
(identifier) @local.definition)
; @reference.implementation
; @definition.interface
; @definition.class
; @definition.function
; @defintion.method
; @reference.class -- not sure I can distinguish this from a constructor ref,

3
queries/textobjects.scm Normal file
View File

@@ -0,0 +1,3 @@
[
(dataDecl)
] @class.around