mirror of
https://github.com/chenasraf/nvim-treesitter.git
synced 2026-05-17 17:38:02 +00:00
fix(nu): separate patterns for collection_type
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user