Update Prisma tree-sitter for view support (#5417)

This commit is contained in:
Julius de Bruijn 2023-01-06 12:12:51 +00:00 committed by GitHub
parent 0dbee9590b
commit 5627c604ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -1677,7 +1677,7 @@ indent = { tab-width = 2, unit = " " }
[[grammar]] [[grammar]]
name = "prisma" 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]] [[language]]
name = "clojure" name = "clojure"

View File

@ -8,6 +8,7 @@
(arguments) @variable.other.member (arguments) @variable.other.member
(model_declaration (identifier) @type) (model_declaration (identifier) @type)
(view_declaration (identifier) @type)
[ [
"datasource" "datasource"
@ -15,6 +16,7 @@
"generator" "generator"
"model" "model"
"type" "type"
"view"
] @keyword ] @keyword
[ [