fix(nu): separate patterns for collection_type

This commit is contained in:
zc he
2025-10-21 15:10:18 +08:00
committed by GitHub
parent 71bf1665f8
commit 30c466ad57

View File

@@ -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