aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--languages.toml2
-rw-r--r--runtime/queries/prisma/highlights.scm2
2 files changed, 3 insertions, 1 deletions
diff --git a/languages.toml b/languages.toml
index 9ad46a0b..5f16d17b 100644
--- a/languages.toml
+++ b/languages.toml
@@ -1677,7 +1677,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]]
name = "prisma"
-source = { git = "https://github.com/victorhqc/tree-sitter-prisma", rev = "17a59236ac25413b81b1613ea6ba5d8d52d7cd6c" }
+source = { git = "https://github.com/victorhqc/tree-sitter-prisma", rev = "eca2596a355b1a9952b4f80f8f9caed300a272b5" }
[[language]]
name = "clojure"
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
[