crates/languages/src/javascript/highlights.scm 🔗
@@ -59,8 +59,8 @@
; Literals
-(this) @variable.special
-(super) @variable.special
+(this) @keyword
+(super) @keyword
[
(null)
Ben Kunkle created
Closes #24951
We were highlighting both as `@variable.special` however, they are
_techinically_ keywords and other editors (VSCode/WebStorm) seem to
highlight them as keywords as well.
Release Notes:
- N/A
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(-)
@@ -59,8 +59,8 @@
; Literals
-(this) @variable.special
-(super) @variable.special
+(this) @keyword
+(super) @keyword
[
(null)
@@ -62,8 +62,8 @@
; Literals
-(this) @variable.special
-(super) @variable.special
+(this) @keyword
+(super) @keyword
[
(null)
@@ -77,8 +77,8 @@
; Literals
-(this) @variable.special
-(super) @variable.special
+(this) @keyword
+(super) @keyword
[
(null)