mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 20:30:05 -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"
|
"model"
|
||||||
] @keyword
|
] @keyword
|
||||||
|
|
||||||
(comment) @comment
|
[
|
||||||
(developer_comment) @comment
|
(comment)
|
||||||
|
(developer_comment)
|
||||||
|
] @comment
|
||||||
|
|
||||||
|
[
|
||||||
|
(attribute)
|
||||||
|
(call_expression)
|
||||||
|
] @function
|
||||||
|
|
||||||
(arguments) @property
|
(arguments) @property
|
||||||
(attribute) @function
|
|
||||||
(call_expression) @function
|
|
||||||
(column_type) @type
|
(column_type) @type
|
||||||
(enumeral) @constant
|
(enumeral) @constant
|
||||||
(identifier) @variable
|
(identifier) @variable
|
||||||
(string) @string
|
(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