aboutsummaryrefslogtreecommitdiffstats
path: root/runtime/queries/prisma/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/prisma/highlights.scm')
-rw-r--r--runtime/queries/prisma/highlights.scm47
1 files changed, 47 insertions, 0 deletions
diff --git a/runtime/queries/prisma/highlights.scm b/runtime/queries/prisma/highlights.scm
new file mode 100644
index 000000000..9d2d1934e
--- /dev/null
+++ b/runtime/queries/prisma/highlights.scm
@@ -0,0 +1,47 @@
+(variable) @variable
+
+[
+ "datasource"
+ "generator"
+ "model"
+ "view"
+] @keyword
+
+[
+ "type"
+ "enum"
+] @keyword.type
+
+(comment) @comment @spell
+
+(developer_comment) @comment.documentation @spell
+
+[
+ (attribute)
+ (call_expression)
+] @function
+
+(arguments) @property
+
+(column_type) @type
+
+(enumeral) @constant
+
+(column_declaration
+ (identifier) @variable)
+
+(string) @string
+
+[
+ "("
+ ")"
+ "["
+ "]"
+ "{"
+ "}"
+] @punctuation.bracket
+
+[
+ "="
+ "@"
+] @operator