highlights(ecma): add pair_pattern punctuation.delimiter

This commit is contained in:
Munif Tanjim 2022-10-17 17:55:26 +06:00 committed by Stephan Seitz
parent 8f927a4d50
commit 63d7e456ea
2 changed files with 8 additions and 0 deletions

View file

@ -138,6 +138,7 @@
"," @punctuation.delimiter
(pair ":" @punctuation.delimiter)
(pair_pattern ":" @punctuation.delimiter)
[
"--"

View file

@ -23,3 +23,10 @@ class H {
// ^ method.call
}
}
function doSomething(options) {
const {
enable: on,
// ^ punctuation.delimiter
} = options
}