mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
67 lines
871 B
Scheme
67 lines
871 B
Scheme
(identifier) @variable
|
|
(pipe_sequence "|" @operator)
|
|
(string) @string
|
|
(number) @number
|
|
(pipe_call
|
|
name: (identifier) @function)
|
|
(pipe_call
|
|
arguments: (pipe_arguments
|
|
(identifier) @parameter))
|
|
|
|
(structural_assignment
|
|
operator: (identifier) @keyword)
|
|
|
|
(member_expression
|
|
property: (identifier) @property)
|
|
|
|
(call_expression
|
|
function: (identifier) @function)
|
|
|
|
(call_expression
|
|
function: ((identifier) @function.builtin
|
|
(#eq? @function.builtin "$any")))
|
|
|
|
[
|
|
"let"
|
|
"as"
|
|
] @keyword
|
|
|
|
[
|
|
"("
|
|
")"
|
|
"["
|
|
"]"
|
|
"{"
|
|
"}"
|
|
] @punctuation.bracket
|
|
|
|
[
|
|
";"
|
|
"."
|
|
","
|
|
"?."
|
|
] @punctuation.delimiter
|
|
|
|
((identifier) @boolean
|
|
(#any-of? @boolean "true" "false"))
|
|
((identifier) @variable.builtin
|
|
(#any-of? @variable.builtin "this" "\$event" "null"))
|
|
|
|
[
|
|
"-"
|
|
"&&"
|
|
"+"
|
|
"<"
|
|
"<="
|
|
"="
|
|
"=="
|
|
"==="
|
|
"!="
|
|
"!=="
|
|
">"
|
|
">="
|
|
"*"
|
|
"/"
|
|
"||"
|
|
"%"
|
|
] @operator
|