mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-22 21:25:27 +00:00
[ty] Fix None, True and False highlighting in playground (#20994)
This commit is contained in:
parent
54cd9d889d
commit
0520d11a66
2 changed files with 8 additions and 0 deletions
0
playground/issue.py
Normal file
0
playground/issue.py
Normal file
|
|
@ -290,6 +290,10 @@ function defineAyuThemes(monaco: Monaco) {
|
||||||
foreground: COSMIC,
|
foreground: COSMIC,
|
||||||
token: "keyword",
|
token: "keyword",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
foreground: COSMIC,
|
||||||
|
token: "builtinConstant",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
foreground: CONSTELLATION,
|
foreground: CONSTELLATION,
|
||||||
token: "number",
|
token: "number",
|
||||||
|
|
@ -575,6 +579,10 @@ function defineAyuThemes(monaco: Monaco) {
|
||||||
foreground: RADIATE,
|
foreground: RADIATE,
|
||||||
token: "keyword",
|
token: "keyword",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
foreground: RADIATE,
|
||||||
|
token: "builtinConstant",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
foreground: PROTON,
|
foreground: PROTON,
|
||||||
token: "tag",
|
token: "tag",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue