Update Prisma tree-sitter for view support (#5417)
This commit is contained in:
parent
0dbee9590b
commit
5627c604ef
2 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
Loading…
Reference in a new issue