mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-05 20:07:44 +03:00
Introduce storage highlighting for typescript/javascript (#2961)
This commit is contained in:
parent
e35abe38f3
commit
230ba264bf
3 changed files with 27 additions and 12 deletions
|
@ -163,19 +163,14 @@
|
|||
[
|
||||
"as"
|
||||
"async"
|
||||
"class"
|
||||
"const"
|
||||
"debugger"
|
||||
"delete"
|
||||
"export"
|
||||
"extends"
|
||||
"from"
|
||||
"function"
|
||||
"get"
|
||||
"import"
|
||||
"in"
|
||||
"instanceof"
|
||||
"let"
|
||||
"new"
|
||||
"of"
|
||||
"set"
|
||||
|
@ -183,11 +178,17 @@
|
|||
"target"
|
||||
"try"
|
||||
"typeof"
|
||||
"var"
|
||||
"void"
|
||||
"with"
|
||||
] @keyword
|
||||
|
||||
[
|
||||
"class"
|
||||
"let"
|
||||
"const"
|
||||
"var"
|
||||
] @keyword.storage.type
|
||||
|
||||
[
|
||||
"switch"
|
||||
"case"
|
||||
|
@ -206,3 +207,9 @@
|
|||
"do"
|
||||
"await"
|
||||
] @keyword.control
|
||||
|
||||
[
|
||||
"import"
|
||||
"export"
|
||||
] @keyword.control.import
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue