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.

use `@boolean` in all flavors of js

Nate Butlerf84046b74fc1
diff --git a/crates/zed/src/languages/javascript/highlights.scm b/crates/zed/src/languages/javascript/highlights.scm
index dca0b289498..21af8b03c46 100644
--- a/crates/zed/src/languages/javascript/highlights.scm
+++ b/crates/zed/src/languages/javascript/highlights.scm
@@ -59,12 +59,15 @@
(super) @variable.special
[
- (true)
- (false)
(null)
(undefined)
] @constant.builtin
+[
+ (true)
+ (false)
+] @boolean
+
(comment) @comment
[
diff --git a/crates/zed/src/languages/typescript/highlights.scm b/crates/zed/src/languages/typescript/highlights.scm
index 8149ced0dda..5c459fba9e7 100644
--- a/crates/zed/src/languages/typescript/highlights.scm
+++ b/crates/zed/src/languages/typescript/highlights.scm
@@ -59,12 +59,15 @@
(super) @variable.special
[
- (true)
- (false)
(null)
(undefined)
] @constant.builtin
+[
+ (true)
+ (false)
+] @boolean
+
(comment) @comment
[