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:
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)
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue