nvim-treesitter/queries/ql/highlights.scm
2020-09-30 17:06:58 +02:00

121 lines
1.1 KiB
Scheme

[
"as"
"asc"
"by"
"class"
"desc"
"extends"
"forall"
"forex"
"from"
"implies"
"in"
"module"
"newtype"
"order"
"select"
"where"
(predicate)
(result)
(specialId)
] @keyword
[
"and"
"not"
"or"
] @keyword.operator
[
"avg"
"any"
"count"
"concat"
"exists"
"max"
"min"
"instanceof"
"rank"
"sum"
"strictconcat"
"strictcount"
"strictsum"
] @function.builtin
[
"import"
] @include
[
"if"
"then"
"else"
] @conditional
[
(true)
(false)
] @boolean
[
(this)
(super)
] @variable.builtin
[
"boolean"
"float"
"int"
"date"
"string"
] @type.builtin
(annotName) @attribute
[
"<"
"<="
"="
">"
">="
"-"
"!="
"/"
"*"
"%"
"+"
"::"
] @operator
[
"("
")"
"{"
"}"
"["
"]"
] @punctuation.bracket
[
","
"|"
] @punctuation.delimiter
(className) @type
(varName) @variable
(integer) @number
(float) @float
(string) @string
(aritylessPredicateExpr (literalId) @function)
(predicateName) @function
[
(line_comment)
(block_comment)
(qldoc)
] @comment