mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-08 09:08:48 +01:00
Improve unusable slowness of tree sitter syntax highlighting (#229951)
* Improve unusable slowness of tree sitter syntax highlighting Part of #229935 * Improve improvement as discussed with Martin * Fix score * Fix test error
This commit is contained in:
+8
-8
@@ -1989,7 +1989,7 @@
|
||||
},
|
||||
{
|
||||
"c": "=>",
|
||||
"t": "keyword.operator storage.type",
|
||||
"t": "storage.type",
|
||||
"r": {
|
||||
"dark_plus": "storage.type: #569CD6",
|
||||
"light_plus": "storage.type: #0000FF",
|
||||
@@ -2507,7 +2507,7 @@
|
||||
},
|
||||
{
|
||||
"c": "=>",
|
||||
"t": "keyword.operator storage.type",
|
||||
"t": "storage.type",
|
||||
"r": {
|
||||
"dark_plus": "storage.type: #569CD6",
|
||||
"light_plus": "storage.type: #0000FF",
|
||||
@@ -2801,16 +2801,16 @@
|
||||
},
|
||||
{
|
||||
"c": "t",
|
||||
"t": "variable variable.other.constant",
|
||||
"t": "variable",
|
||||
"r": {
|
||||
"dark_plus": "variable.other.constant: #4FC1FF",
|
||||
"light_plus": "variable.other.constant: #0070C1",
|
||||
"dark_plus": "variable: #9CDCFE",
|
||||
"light_plus": "variable: #001080",
|
||||
"dark_vs": "default: #D4D4D4",
|
||||
"light_vs": "default: #000000",
|
||||
"hc_black": "variable: #9CDCFE",
|
||||
"dark_modern": "variable.other.constant: #4FC1FF",
|
||||
"hc_light": "variable.other.constant: #02715D",
|
||||
"light_modern": "variable.other.constant: #0070C1"
|
||||
"dark_modern": "variable: #9CDCFE",
|
||||
"hc_light": "variable: #001080",
|
||||
"light_modern": "variable: #001080"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
+6
-6
@@ -155,16 +155,16 @@
|
||||
},
|
||||
{
|
||||
"c": "timeRange",
|
||||
"t": "variable variable.other.constant",
|
||||
"t": "variable",
|
||||
"r": {
|
||||
"dark_plus": "variable.other.constant: #4FC1FF",
|
||||
"light_plus": "variable.other.constant: #0070C1",
|
||||
"dark_plus": "variable: #9CDCFE",
|
||||
"light_plus": "variable: #001080",
|
||||
"dark_vs": "default: #D4D4D4",
|
||||
"light_vs": "default: #000000",
|
||||
"hc_black": "variable: #9CDCFE",
|
||||
"dark_modern": "variable.other.constant: #4FC1FF",
|
||||
"hc_light": "variable.other.constant: #02715D",
|
||||
"light_modern": "variable.other.constant: #0070C1"
|
||||
"dark_modern": "variable: #9CDCFE",
|
||||
"hc_light": "variable: #001080",
|
||||
"light_modern": "variable: #001080"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
+8
-8
@@ -85,16 +85,16 @@
|
||||
},
|
||||
{
|
||||
"c": "foo",
|
||||
"t": "variable entity.name.function variable.other.constant",
|
||||
"t": "variable entity.name.function",
|
||||
"r": {
|
||||
"dark_plus": "variable.other.constant: #4FC1FF",
|
||||
"light_plus": "variable.other.constant: #0070C1",
|
||||
"dark_plus": "entity.name.function: #DCDCAA",
|
||||
"light_plus": "entity.name.function: #795E26",
|
||||
"dark_vs": "default: #D4D4D4",
|
||||
"light_vs": "default: #000000",
|
||||
"hc_black": "variable: #9CDCFE",
|
||||
"dark_modern": "variable.other.constant: #4FC1FF",
|
||||
"hc_light": "variable.other.constant: #02715D",
|
||||
"light_modern": "variable.other.constant: #0070C1"
|
||||
"hc_black": "entity.name.function: #DCDCAA",
|
||||
"dark_modern": "entity.name.function: #DCDCAA",
|
||||
"hc_light": "entity.name.function: #5E2CBC",
|
||||
"light_modern": "entity.name.function: #795E26"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -169,7 +169,7 @@
|
||||
},
|
||||
{
|
||||
"c": "=>",
|
||||
"t": "keyword.operator storage.type",
|
||||
"t": "storage.type",
|
||||
"r": {
|
||||
"dark_plus": "storage.type: #569CD6",
|
||||
"light_plus": "storage.type: #0000FF",
|
||||
|
||||
+1
-1
@@ -85,7 +85,7 @@
|
||||
},
|
||||
{
|
||||
"c": "=>",
|
||||
"t": "keyword.operator storage.type",
|
||||
"t": "storage.type",
|
||||
"r": {
|
||||
"dark_plus": "storage.type: #569CD6",
|
||||
"light_plus": "storage.type: #0000FF",
|
||||
|
||||
@@ -323,7 +323,7 @@
|
||||
},
|
||||
{
|
||||
"c": "constructor",
|
||||
"t": "variable meta.definition.method entity.name.function storage.type",
|
||||
"t": "variable meta.definition.method storage.type",
|
||||
"r": {
|
||||
"dark_plus": "storage.type: #569CD6",
|
||||
"light_plus": "storage.type: #0000FF",
|
||||
@@ -1457,7 +1457,7 @@
|
||||
},
|
||||
{
|
||||
"c": "constructor",
|
||||
"t": "variable meta.definition.method entity.name.function storage.type",
|
||||
"t": "variable meta.definition.method storage.type",
|
||||
"r": {
|
||||
"dark_plus": "storage.type: #569CD6",
|
||||
"light_plus": "storage.type: #0000FF",
|
||||
@@ -2717,7 +2717,7 @@
|
||||
},
|
||||
{
|
||||
"c": "=>",
|
||||
"t": "keyword.operator storage.type",
|
||||
"t": "storage.type",
|
||||
"r": {
|
||||
"dark_plus": "storage.type: #569CD6",
|
||||
"light_plus": "storage.type: #0000FF",
|
||||
@@ -3319,7 +3319,7 @@
|
||||
},
|
||||
{
|
||||
"c": "=>",
|
||||
"t": "keyword.operator storage.type",
|
||||
"t": "storage.type",
|
||||
"r": {
|
||||
"dark_plus": "storage.type: #569CD6",
|
||||
"light_plus": "storage.type: #0000FF",
|
||||
@@ -3879,7 +3879,7 @@
|
||||
},
|
||||
{
|
||||
"c": "=>",
|
||||
"t": "keyword.operator storage.type",
|
||||
"t": "storage.type",
|
||||
"r": {
|
||||
"dark_plus": "storage.type: #569CD6",
|
||||
"light_plus": "storage.type: #0000FF",
|
||||
|
||||
Reference in New Issue
Block a user