crates/languages/src/javascript/highlights.scm 🔗
@@ -62,8 +62,8 @@
; Literals
-(this) @keyword
-(super) @keyword
+(this) @variable.special
+(super) @variable.special
[
(null)
Ben Kunkle created
Reverts zed-industries/zed#25135
This approach was not the best as explained in the response to the
original PR. Likely, the better approach is to create a newer specific
scope for these kinds of variables under the `@variable` prefix so that
themes can control these pseudo-keywords specifically
crates/languages/src/javascript/highlights.scm | 4 ++--
crates/languages/src/tsx/highlights.scm | 4 ++--
crates/languages/src/typescript/highlights.scm | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
@@ -62,8 +62,8 @@
; Literals
-(this) @keyword
-(super) @keyword
+(this) @variable.special
+(super) @variable.special
[
(null)
@@ -62,8 +62,8 @@
; Literals
-(this) @keyword
-(super) @keyword
+(this) @variable.special
+(super) @variable.special
[
(null)
@@ -80,8 +80,8 @@
; Literals
-(this) @keyword
-(super) @keyword
+(this) @variable.special
+(super) @variable.special
[
(null)