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 00:53:16 -05:00 committed by GitHub
parent bb600acaa1
commit ebbc6a9752
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 6 additions and 6 deletions

View file

@ -59,8 +59,8 @@
; Literals
(this) @variable.special
(super) @variable.special
(this) @keyword
(super) @keyword
[
(null)

View file

@ -62,8 +62,8 @@
; Literals
(this) @variable.special
(super) @variable.special
(this) @keyword
(super) @keyword
[
(null)

View file

@ -77,8 +77,8 @@
; Literals
(this) @variable.special
(super) @variable.special
(this) @keyword
(super) @keyword
[
(null)