mirror of
https://github.com/astral-sh/ruff.git
synced 2025-11-18 19:41:34 +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,
|
||||
token: "keyword",
|
||||
},
|
||||
{
|
||||
foreground: COSMIC,
|
||||
token: "builtinConstant",
|
||||
},
|
||||
{
|
||||
foreground: CONSTELLATION,
|
||||
token: "number",
|
||||
|
|
@ -575,6 +579,10 @@ function defineAyuThemes(monaco: Monaco) {
|
|||
foreground: RADIATE,
|
||||
token: "keyword",
|
||||
},
|
||||
{
|
||||
foreground: RADIATE,
|
||||
token: "builtinConstant",
|
||||
},
|
||||
{
|
||||
foreground: PROTON,
|
||||
token: "tag",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue