aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries
diff options
context:
space:
mode:
authorJulius de Bruijn2023-01-06 12:12:51 +0000
committerGitHub2023-01-06 12:12:51 +0000
commit5627c604effd36a4ecd319518e9315e34cfbb0be (patch)
tree43fd8235e15f8f4cb7acfdb0252dafc7d9c3bdb0 /runtime/queries
parent0dbee9590baed10bef3c6c32420b8a5802204657 (diff)
Update Prisma tree-sitter for view support (#5417)
Diffstat (limited to 'runtime/queries')
-rw-r--r--runtime/queries/prisma/highlights.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/runtime/queries/prisma/highlights.scm b/runtime/queries/prisma/highlights.scm
index b5c0c4ae..dfd5292d 100644
--- a/runtime/queries/prisma/highlights.scm
+++ b/runtime/queries/prisma/highlights.scm
@@ -8,6 +8,7 @@
(arguments) @variable.other.member
(model_declaration (identifier) @type)
+(view_declaration (identifier) @type)
[
"datasource"
@@ -15,6 +16,7 @@
"generator"
"model"
"type"
+ "view"
] @keyword
[