mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 19:00:02 -04:00
feat(prisma): highlight views
This commit is contained in:
parent
bee003b880
commit
79aedc9675
2 changed files with 8 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
"generator"
|
"generator"
|
||||||
"model"
|
"model"
|
||||||
"type"
|
"type"
|
||||||
|
"view"
|
||||||
] @keyword
|
] @keyword
|
||||||
|
|
||||||
(comment) @comment @spell
|
(comment) @comment @spell
|
||||||
|
|
|
||||||
|
|
@ -54,3 +54,10 @@ enum ReactionType {
|
||||||
ANGRY
|
ANGRY
|
||||||
// ^ constant
|
// ^ constant
|
||||||
}
|
}
|
||||||
|
|
||||||
|
view ReactionView {
|
||||||
|
// ^ keyword
|
||||||
|
id Int @unique
|
||||||
|
postId Int
|
||||||
|
userId String
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue