mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17: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"
|
||||
"model"
|
||||
"type"
|
||||
"view"
|
||||
] @keyword
|
||||
|
||||
(comment) @comment @spell
|
||||
|
|
|
|||
|
|
@ -54,3 +54,10 @@ enum ReactionType {
|
|||
ANGRY
|
||||
// ^ constant
|
||||
}
|
||||
|
||||
view ReactionView {
|
||||
// ^ keyword
|
||||
id Int @unique
|
||||
postId Int
|
||||
userId String
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue