mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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"
|
"record"
|
||||||
"table"
|
"table"
|
||||||
] @type.builtin
|
] @type.builtin)
|
||||||
"<" @punctuation.bracket
|
|
||||||
key: (_) @variable.parameter
|
(collection_type
|
||||||
|
key: (_) @variable.parameter)
|
||||||
|
|
||||||
|
(collection_type
|
||||||
[
|
[
|
||||||
","
|
"<"
|
||||||
":"
|
">"
|
||||||
] @punctuation.delimiter
|
] @punctuation.bracket)
|
||||||
">" @punctuation.bracket)
|
|
||||||
|
(collection_type
|
||||||
|
":" @punctuation.special)
|
||||||
|
|
||||||
(shebang) @keyword.directive
|
(shebang) @keyword.directive
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue