mirror of https://github.com/helix-editor/helix
add prisma tree-sitter and lsp support (#2703)
Co-authored-by: Michael Davis <mcarsondavis@gmail.com>pull/2760/head
parent
e9283b20b4
commit
0bc7259672
@ -0,0 +1,56 @@
|
||||
(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
|
Loading…
Reference in New Issue