Skip to content

Commit f4162e6

Browse files
committed
revert changing @Number
1 parent 1a672c2 commit f4162e6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

runtime/queries/nu/highlights.scm

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646

4747
; ---
4848
; literals
49-
(val_number) @constant.numeric
49+
(val_number) @number
5050

5151
(val_duration
5252
unit: _ @variable.parameter)
@@ -59,13 +59,13 @@
5959
"0b"
6060
"0o"
6161
"0x"
62-
] @constant.numeric
62+
] @number
6363
"[" @punctuation.bracket
6464
digit: [
6565
"," @punctuation.delimiter
66-
(hex_digit) @constant.numeric
66+
(hex_digit) @number
6767
]
68-
"]" @punctuation.bracket) @constant.numeric
68+
"]" @punctuation.bracket) @number
6969

7070
(val_bool) @constant.builtin
7171

@@ -77,7 +77,7 @@ arg_str: (val_string) @variable.parameter
7777

7878
file_path: (val_string) @variable.parameter
7979

80-
(val_date) @constant.numeric
80+
(val_date) @number
8181

8282
(inter_escape_sequence) @constant.character.escape
8383

0 commit comments

Comments
 (0)