Revert "Highlight super
and this
as keywords in JS/TS/TSX" (#26342)
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
This commit is contained in:
parent
5aae3bdc69
commit
6de3ac3e17
3 changed files with 6 additions and 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue