mirror of https://github.com/helix-editor/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
480 B
Scheme
38 lines
480 B
Scheme
8 months ago
|
; adl
|
||
|
|
||
|
[
|
||
|
"module"
|
||
|
"struct"
|
||
|
"union"
|
||
|
"type"
|
||
|
"newtype"
|
||
|
"annotation"
|
||
|
] @keyword
|
||
|
|
||
|
(adl (scoped_name)) @namespace
|
||
|
(comment) @comment
|
||
|
(doc_comment) @comment.block.documentation
|
||
|
(name) @type
|
||
|
|
||
|
(fname) @variable.other.member
|
||
|
|
||
|
(type_expr (scoped_name) @type)
|
||
|
|
||
|
(type_expr_params (param (scoped_name) @type.parameter))
|
||
|
|
||
|
; json
|
||
|
(key) @string.special
|
||
|
|
||
|
(string) @string
|
||
|
|
||
|
(number) @constant.numeric
|
||
|
|
||
|
[
|
||
|
(null)
|
||
|
(true)
|
||
|
(false)
|
||
|
] @constant.builtin
|
||
|
|
||
|
(escape_sequence) @constant.character.escape
|
||
|
|