feat(core): mix模式下使用diff去修改代码防止触发整个文件代码高亮的重新构建
This commit is contained in:
104
common/templates/json/tree-sitter/themes/light-python.json
Normal file
104
common/templates/json/tree-sitter/themes/light-python.json
Normal file
@@ -0,0 +1,104 @@
|
||||
{
|
||||
"monacoTreeSitter": {
|
||||
"type": "#267F99",
|
||||
"scope": "#333333",
|
||||
"function": "#795E26",
|
||||
"variable": "#333333",
|
||||
"number": "#098658",
|
||||
"string": "#A31515",
|
||||
"comment": "#008000",
|
||||
"constant": "#0451A5",
|
||||
"directive": "#AF00DB",
|
||||
"control": "#AF00DB",
|
||||
"operator": "#333333",
|
||||
"modifier": "#AF00DB",
|
||||
"punctuation": "#333333"
|
||||
},
|
||||
"base": {
|
||||
"base": "vs",
|
||||
"inherit": true,
|
||||
"rules": [
|
||||
{
|
||||
"token": "comment",
|
||||
"foreground": "008000"
|
||||
},
|
||||
{
|
||||
"token": "keyword",
|
||||
"foreground": "AF00DB"
|
||||
},
|
||||
{
|
||||
"token": "keyword.control",
|
||||
"foreground": "AF00DB"
|
||||
},
|
||||
{
|
||||
"token": "entity.name.class",
|
||||
"foreground": "267F99"
|
||||
},
|
||||
{
|
||||
"token": "entity.name.type",
|
||||
"foreground": "267F99"
|
||||
},
|
||||
{
|
||||
"token": "entity.name.function",
|
||||
"foreground": "795E26"
|
||||
},
|
||||
{
|
||||
"token": "support.function.builtin",
|
||||
"foreground": "0451A5"
|
||||
},
|
||||
{
|
||||
"token": "variable.parameter",
|
||||
"foreground": "001080"
|
||||
},
|
||||
{
|
||||
"token": "variable.language.self",
|
||||
"foreground": "001080"
|
||||
},
|
||||
{
|
||||
"token": "entity.name.function.magic",
|
||||
"foreground": "001080"
|
||||
},
|
||||
{
|
||||
"token": "meta.decorator",
|
||||
"foreground": "AF00DB"
|
||||
},
|
||||
{
|
||||
"token": "string",
|
||||
"foreground": "A31515"
|
||||
},
|
||||
{
|
||||
"token": "string.doc",
|
||||
"foreground": "008000"
|
||||
},
|
||||
{
|
||||
"token": "constant.numeric",
|
||||
"foreground": "098658"
|
||||
},
|
||||
{
|
||||
"token": "constant.language",
|
||||
"foreground": "0451A5"
|
||||
},
|
||||
{
|
||||
"token": "punctuation",
|
||||
"foreground": "333333"
|
||||
},
|
||||
{
|
||||
"token": "keyword.operator",
|
||||
"foreground": "333333"
|
||||
},
|
||||
{
|
||||
"token": "invalid",
|
||||
"foreground": "FFFFFF",
|
||||
"background": "E51400"
|
||||
}
|
||||
],
|
||||
"colors": {
|
||||
"editor.background": "#FFFFFF",
|
||||
"editor.foreground": "#333333",
|
||||
"editor.selectionBackground": "#ADD6FF",
|
||||
"editor.lineHighlightBackground": "#FFFFFF",
|
||||
"editorCursor.foreground": "#000000",
|
||||
"editorWhitespace.foreground": "#BFBFBF"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user