crates/languages/src/javascript/highlights.scm 🔗
@@ -150,6 +150,13 @@
"}"
] @punctuation.bracket
+(ternary_expression
+ [
+ "?"
+ ":"
+ ] @operator
+)
+
[
"as"
"async"
狐狸 created
Closes #ISSUE
Release Notes:
- N/A *or* Added/Fixed/Improved ...
crates/languages/src/javascript/highlights.scm | 7 +++++++
crates/languages/src/tsx/highlights.scm | 7 +++++++
crates/languages/src/typescript/highlights.scm | 7 +++++++
3 files changed, 21 insertions(+)
@@ -150,6 +150,13 @@
"}"
] @punctuation.bracket
+(ternary_expression
+ [
+ "?"
+ ":"
+ ] @operator
+)
+
[
"as"
"async"
@@ -155,6 +155,13 @@
"}"
] @punctuation.bracket
+(ternary_expression
+ [
+ "?"
+ ":"
+ ] @operator
+)
+
[
"as"
"async"
@@ -156,6 +156,13 @@
"}"
] @punctuation.bracket
+(ternary_expression
+ [
+ "?"
+ ":"
+ ] @operator
+)
+
[
"as"
"async"