From f84046b74fc1c67d0d7586571270b4130be42f53 Mon Sep 17 00:00:00 2001 From: Nate Butler Date: Mon, 27 Feb 2023 10:40:01 -0500 Subject: [PATCH] use `@boolean` in all flavors of js --- crates/zed/src/languages/javascript/highlights.scm | 7 +++++-- crates/zed/src/languages/typescript/highlights.scm | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/crates/zed/src/languages/javascript/highlights.scm b/crates/zed/src/languages/javascript/highlights.scm index dca0b28949..21af8b03c4 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 8149ced0dd..5c459fba9e 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 [