30 lines
281 B
Scheme
30 lines
281 B
Scheme
;; Literals
|
|
|
|
(num_lit) @number
|
|
|
|
[
|
|
(char_lit)
|
|
(str_lit)
|
|
] @string
|
|
|
|
[
|
|
(bool_lit)
|
|
(nil_lit)
|
|
] @constant.builtin
|
|
|
|
(kwd_lit) @constant
|
|
|
|
;; Comments
|
|
|
|
(comment) @comment
|
|
|
|
;; Treat quasiquotation as operators for the purpose of highlighting.
|
|
|
|
[
|
|
"'"
|
|
"`"
|
|
"~"
|
|
"@"
|
|
"~@"
|
|
] @operator
|