mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 11:06:54 -04:00
fix(nu): separate patterns for collection_type
This commit is contained in:
parent
71bf1665f8
commit
30c466ad57
1 changed files with 12 additions and 7 deletions
|
|
@ -344,14 +344,19 @@ key: (identifier) @property
|
|||
[
|
||||
"record"
|
||||
"table"
|
||||
] @type.builtin
|
||||
"<" @punctuation.bracket
|
||||
key: (_) @variable.parameter
|
||||
] @type.builtin)
|
||||
|
||||
(collection_type
|
||||
key: (_) @variable.parameter)
|
||||
|
||||
(collection_type
|
||||
[
|
||||
","
|
||||
":"
|
||||
] @punctuation.delimiter
|
||||
">" @punctuation.bracket)
|
||||
"<"
|
||||
">"
|
||||
] @punctuation.bracket)
|
||||
|
||||
(collection_type
|
||||
":" @punctuation.special)
|
||||
|
||||
(shebang) @keyword.directive
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue