mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-09 06:50:06 -04:00
refactor(prisma): group similar nodes
This commit is contained in:
parent
b2801abc21
commit
2507f890ac
1 changed files with 22 additions and 12 deletions
|
|
@ -5,22 +5,32 @@
|
|||
"model"
|
||||
] @keyword
|
||||
|
||||
(comment) @comment
|
||||
(developer_comment) @comment
|
||||
[
|
||||
(comment)
|
||||
(developer_comment)
|
||||
] @comment
|
||||
|
||||
[
|
||||
(attribute)
|
||||
(call_expression)
|
||||
] @function
|
||||
|
||||
(arguments) @property
|
||||
(attribute) @function
|
||||
(call_expression) @function
|
||||
(column_type) @type
|
||||
(enumeral) @constant
|
||||
(identifier) @variable
|
||||
(string) @string
|
||||
|
||||
"(" @punctuation.bracket
|
||||
")" @punctuation.bracket
|
||||
"[" @punctuation.bracket
|
||||
"]" @punctuation.bracket
|
||||
"{" @punctuation.bracket
|
||||
"}" @punctuation.bracket
|
||||
"=" @operator
|
||||
"@" @operator
|
||||
[
|
||||
"("
|
||||
")"
|
||||
"["
|
||||
"]"
|
||||
"{"
|
||||
"}"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
"="
|
||||
"@"
|
||||
] @operator
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue