Skip to content

Commit 1dcfd0c

Browse files
committed
highlight unpack as keyword
1 parent 927a3da commit 1dcfd0c

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

queries/highlights.scm

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@
7575

7676
(function parameter: (value_identifier) @parameter)
7777

78-
("unpack") @function.builtin
79-
8078
; Meta
8179
;-----
8280

@@ -115,6 +113,7 @@
115113
"async"
116114
"await"
117115
"with"
116+
"unpack"
118117
] @keyword
119118

120119
[

test/highlight/modules.res

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ let a = module(
3333
)
3434

3535
module B = unpack(a)
36-
// ^ function.builtin
36+
// ^ keyword
3737

3838
module type A = {
3939
type t = int

0 commit comments

Comments
 (0)