mirror of
https://github.com/helix-editor/helix
synced 2026-03-11 22:38:26 +01:00
* highlights(amber): highlight (null) as `@constant.builtin` * highlights(c): highlight (null) as `@constant.builtin` * highlights(opencl): mark (null) as `@constant.builtin` * highlights(prisma): highlight (null) as `@constant.builtin` and not `@constant.builtin.boolean` * highlights(v): highlight (nil) as `@constant.builtin` * queries(crystal): properly highlight (nil) and booleans * highlight(gdscript): highlight (null) as `@constant.builtin` * highlights(r): properly highlight null and nan * highlights(kotlin): don't highlight null as boolean
59 lines
647 B
Scheme
59 lines
647 B
Scheme
(string) @string
|
|
|
|
(enumeral) @constant
|
|
(number) @constant.numeric
|
|
|
|
(variable) @variable
|
|
(column_type) @type
|
|
|
|
(arguments) @variable.other.member
|
|
(model_declaration (identifier) @type)
|
|
(view_declaration (identifier) @type)
|
|
|
|
[
|
|
"datasource"
|
|
"enum"
|
|
"generator"
|
|
"model"
|
|
"type"
|
|
"view"
|
|
] @keyword
|
|
|
|
[
|
|
(comment)
|
|
(developer_comment)
|
|
] @comment
|
|
|
|
[
|
|
(attribute)
|
|
(block_attribute_declaration)
|
|
(call_expression)
|
|
] @function.builtin
|
|
|
|
[
|
|
(true)
|
|
(false)
|
|
] @constant.builtin.boolean
|
|
(null) @constant.builtin
|
|
|
|
[
|
|
"("
|
|
")"
|
|
"["
|
|
"]"
|
|
"{"
|
|
"}"
|
|
] @punctuation.bracket
|
|
|
|
[
|
|
":"
|
|
","
|
|
] @punctuation.delimiter
|
|
|
|
[
|
|
"="
|
|
"@"
|
|
"@@"
|
|
(binary_expression)
|
|
] @operator
|