File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change 46
46
47
47
; ---
48
48
; literals
49
- (val_number) @number
49
+ (val_number) @constant.numeric
50
50
51
51
(val_duration
52
52
unit: _ @variable.parameter )
59
59
"0b"
60
60
"0o"
61
61
"0x"
62
- ] @number
62
+ ] @constant.numeric
63
63
"[" @punctuation.bracket
64
64
digit: [
65
65
"," @punctuation.delimiter
66
- (hex_digit) @number
66
+ (hex_digit) @constant.numeric
67
67
]
68
- "]" @punctuation.bracket ) @number
68
+ "]" @punctuation.bracket ) @constant.numeric
69
69
70
70
(val_bool) @constant.builtin
71
71
@@ -77,7 +77,7 @@ arg_str: (val_string) @variable.parameter
77
77
78
78
file_path: (val_string) @variable.parameter
79
79
80
- (val_date) @number
80
+ (val_date) @constant.numeric
81
81
82
82
(inter_escape_sequence) @constant.character.escape
83
83
@@ -376,9 +376,7 @@ key: (identifier) @property
376
376
">"
377
377
] @punctuation.bracket )
378
378
379
- (shebang) @keyword.directive
380
-
381
- (comment) @comment
379
+ [(comment) (shebang)] @comment
382
380
383
381
((comment)+ @comment.documentation @spell
384
382
.
You can’t perform that action at this time.
0 commit comments