partially working
This commit is contained in:
21
queries/highlights.scm
Normal file
21
queries/highlights.scm
Normal 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
9
queries/locals.scm
Normal 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
3
queries/textobjects.scm
Normal file
@@ -0,0 +1,3 @@
|
||||
[
|
||||
(dataDecl)
|
||||
] @class.around
|
||||
Reference in New Issue
Block a user