helix-mods/runtime/queries/prisma/highlights.scm
Ivan 0bc7259672
add prisma tree-sitter and lsp support (#2703)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2022-06-12 14:08:51 -05:00

56 lines
583 B
Scheme

(string) @string
(enumeral) @constant
(number) @constant.numeric
(variable) @variable
(column_type) @type
(arguments) @variable.other.member
(model_declaration (identifier) @type)
[
"datasource"
"enum"
"generator"
"model"
"type"
] @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