aboutsummaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/nu/highlights.scm19
1 files changed, 12 insertions, 7 deletions
diff --git a/runtime/queries/nu/highlights.scm b/runtime/queries/nu/highlights.scm
index e23a30fae..e008352d4 100644
--- a/runtime/queries/nu/highlights.scm
+++ b/runtime/queries/nu/highlights.scm
@@ -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