Update Prisma tree-sitter for view support (#5417)
commit5627c604effd36a4ecd319518e9315e34cfbb0be
authorJulius de Bruijn <bruijn@prisma.io>
dateFri 6 Jan 2023, 12:12 (4 years ago)
parent0dbee95
languages.toml+1−1
@@ -1677,7 +1677,7 @@ indent = { tab-width = 2, unit = " " }
16771677
16781678[[grammar]]
16791679name = "prisma"
1680−source = { git = "https://github.com/victorhqc/tree-sitter-prisma", rev = "17a59236ac25413b81b1613ea6ba5d8d52d7cd6c" }
1680+source = { git = "https://github.com/victorhqc/tree-sitter-prisma", rev = "eca2596a355b1a9952b4f80f8f9caed300a272b5" }
16811681
16821682[[language]]
16831683name = "clojure"
runtime/queries/prisma/highlights.scm+2
@@ -8,6 +8,7 @@
88
99(arguments) @variable.other.member
1010(model_declaration (identifier) @type)
11+(view_declaration (identifier) @type)
1112
1213[
1314 "datasource"
@@ -15,6 +16,7 @@
1516 "generator"
1617 "model"
1718 "type"
19+ "view"
1820] @keyword
1921
2022[