helix/runtime/queries/prisma/highlights.scm
2024-09-13 13:28:20 -05: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