diff options
author | Julius de Bruijn | 2023-01-06 12:12:51 +0000 |
---|---|---|
committer | GitHub | 2023-01-06 12:12:51 +0000 |
commit | 5627c604effd36a4ecd319518e9315e34cfbb0be (patch) | |
tree | 43fd8235e15f8f4cb7acfdb0252dafc7d9c3bdb0 | |
parent | 0dbee9590baed10bef3c6c32420b8a5802204657 (diff) |
Update Prisma tree-sitter for view support (#5417)
-rw-r--r-- | languages.toml | 2 | ||||
-rw-r--r-- | runtime/queries/prisma/highlights.scm | 2 |
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 [ |