
Release Notes: - Extracted Scheme and Racket language support into extensions. --------- Co-authored-by: Marshall <marshall@zed.dev>
28 lines
720 B
Scheme
28 lines
720 B
Scheme
["(" ")" "[" "]" "{" "}"] @punctuation.bracket
|
|
|
|
(number) @number
|
|
(character) @constant.builtin
|
|
(boolean) @constant.builtin
|
|
|
|
(symbol) @variable
|
|
(string) @string
|
|
|
|
(escape_sequence) @escape
|
|
|
|
[(comment)
|
|
(block_comment)
|
|
(directive)] @comment
|
|
|
|
((symbol) @operator
|
|
(#match? @operator "^(\\+|-|\\*|/|=|>|<|>=|<=)$"))
|
|
|
|
(list
|
|
.
|
|
(symbol) @function)
|
|
|
|
(list
|
|
.
|
|
(symbol) @keyword
|
|
(#match? @keyword
|
|
"^(define-syntax|let\\*|lambda|λ|case|=>|quote-splicing|unquote-splicing|set!|let|letrec|letrec-syntax|let-values|let\\*-values|do|else|define|cond|syntax-rules|unquote|begin|quote|let-syntax|and|if|quasiquote|letrec|delay|or|when|unless|identifier-syntax|assert|library|export|import|rename|only|except|prefix)$"
|
|
))
|