mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
highlights(ecma): distinguish between "default" in export and switch statements
This commit is contained in:
parent
37767540e5
commit
cc2268e1c7
1 changed files with 5 additions and 1 deletions
|
|
@ -207,7 +207,6 @@
|
|||
"else"
|
||||
"switch"
|
||||
"case"
|
||||
"default"
|
||||
] @conditional
|
||||
|
||||
[
|
||||
|
|
@ -266,3 +265,8 @@
|
|||
"catch"
|
||||
"finally"
|
||||
] @exception
|
||||
|
||||
(export_statement
|
||||
"default" @keyword)
|
||||
(switch_default
|
||||
"default" @conditional)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue