1
0
mirror of https://github.com/helix-editor/helix.git synced 2024-12-23 08:21:54 +04:00
helix-mirror/runtime/queries/prisma/highlights.scm
2023-01-06 06:12:51 -06:00

58 lines
629 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)
(null)
] @constant.builtin.boolean
[
"("
")"
"["
"]"
"{"
"}"
] @punctuation.bracket
[
":"
","
] @punctuation.delimiter
[
"="
"@"
"@@"
(binary_expression)
] @operator