Highlight super and this as keywords in JS/TS/TSX (#25135)

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
This commit is contained in:
Ben Kunkle
2025-02-19 05:53:16 +00:00
committed by GitHub
parent bb600acaa1
commit ebbc6a9752
3 changed files with 6 additions and 6 deletions
@@ -59,8 +59,8 @@
; Literals
(this) @variable.special
(super) @variable.special
(this) @keyword
(super) @keyword
[
(null)
+2 -2
View File
@@ -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)