mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-08 06:20:01 -04:00
highlights(ecma): add pair_pattern punctuation.delimiter
This commit is contained in:
parent
8f927a4d50
commit
63d7e456ea
2 changed files with 8 additions and 0 deletions
|
|
@ -138,6 +138,7 @@
|
||||||
"," @punctuation.delimiter
|
"," @punctuation.delimiter
|
||||||
|
|
||||||
(pair ":" @punctuation.delimiter)
|
(pair ":" @punctuation.delimiter)
|
||||||
|
(pair_pattern ":" @punctuation.delimiter)
|
||||||
|
|
||||||
[
|
[
|
||||||
"--"
|
"--"
|
||||||
|
|
|
||||||
|
|
@ -23,3 +23,10 @@ class H {
|
||||||
// ^ method.call
|
// ^ method.call
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function doSomething(options) {
|
||||||
|
const {
|
||||||
|
enable: on,
|
||||||
|
// ^ punctuation.delimiter
|
||||||
|
} = options
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue