Skip to content

Commit

Permalink
Update Prisma tree-sitter for view support (helix-editor#5417)
Browse files Browse the repository at this point in the history
  • Loading branch information
Julius de Bruijn authored and Shafkath Shuhan committed Jan 24, 2023
1 parent f1a735a commit 1232d4e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion languages.toml
Original file line number Diff line number Diff line change
Expand Up @@ -1677,7 +1677,7 @@ indent = { tab-width = 2, unit = " " }

[[grammar]]
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]]
name = "clojure"
Expand Down
2 changes: 2 additions & 0 deletions runtime/queries/prisma/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,15 @@

(arguments) @variable.other.member
(model_declaration (identifier) @type)
(view_declaration (identifier) @type)

[
"datasource"
"enum"
"generator"
"model"
"type"
"view"
] @keyword

[
Expand Down

0 comments on commit 1232d4e

Please sign in to comment.