Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

languages: Highlight `await` as `keyword.control` in JS/TS/TSX files (#52034)

Om Chillurea75b8c83c625
diff --git a/crates/languages/src/javascript/highlights.scm b/crates/languages/src/javascript/highlights.scm
index 4824684177a..4af87cc578e 100644
--- a/crates/languages/src/javascript/highlights.scm
+++ b/crates/languages/src/javascript/highlights.scm
@@ -247,7 +247,6 @@
"abstract"
"as"
"async"
- "await"
"debugger"
"declare"
"default"
@@ -294,6 +293,7 @@
] @keyword.import
[
+ "await"
"break"
"case"
"catch"
diff --git a/crates/languages/src/tsx/highlights.scm b/crates/languages/src/tsx/highlights.scm
index 056956199ef..482bba7f081 100644
--- a/crates/languages/src/tsx/highlights.scm
+++ b/crates/languages/src/tsx/highlights.scm
@@ -268,7 +268,6 @@
"abstract"
"as"
"async"
- "await"
"debugger"
"declare"
"default"
@@ -318,6 +317,7 @@
] @keyword.import
[
+ "await"
"break"
"case"
"catch"
diff --git a/crates/languages/src/typescript/highlights.scm b/crates/languages/src/typescript/highlights.scm
index 55eb9119e49..0213adb10f6 100644
--- a/crates/languages/src/typescript/highlights.scm
+++ b/crates/languages/src/typescript/highlights.scm
@@ -387,7 +387,6 @@
"abstract"
"as"
"async"
- "await"
"debugger"
"declare"
"default"
@@ -437,6 +436,7 @@
] @keyword.import
[
+ "await"
"break"
"case"
"catch"