From 31454faafa927f5bf409f2f021f28a8016eabf79 Mon Sep 17 00:00:00 2001 From: SmitAkbari26 Date: Wed, 12 Apr 2023 10:45:49 +0530 Subject: [PATCH 1/2] How to remove italics? #207 --- theme/cobalt2.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/theme/cobalt2.json b/theme/cobalt2.json index 68ebbb0..4e63218 100644 --- a/theme/cobalt2.json +++ b/theme/cobalt2.json @@ -15,8 +15,7 @@ }, "type": { // "foreground": "#ff0088", - "foreground": "#FF68B8", - "italic": true + "foreground": "#FF68B8" }, // This colours both object definiton properties, as well as references. If the property does not exist, it will be white\. "property": "#9effff" @@ -616,7 +615,10 @@ }, { "name": "[PYTHON] - Self Argument", - "scope": ["variable.parameter.function.language.special.self.python","meta.function-call.generic.python"], + "scope": [ + "variable.parameter.function.language.special.self.python", + "meta.function-call.generic.python" + ], "settings": { "foreground": "#9effff" } From 67c0e946f39f71ac1a36cb15f6d0865a055c7247 Mon Sep 17 00:00:00 2001 From: SmitAkbari26 Date: Sun, 20 Aug 2023 09:48:36 +0530 Subject: [PATCH 2/2] Semantic Highlight Improvement for Python #233 --- theme/cobalt2.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/theme/cobalt2.json b/theme/cobalt2.json index 4e63218..abe87da 100644 --- a/theme/cobalt2.json +++ b/theme/cobalt2.json @@ -616,8 +616,7 @@ { "name": "[PYTHON] - Self Argument", "scope": [ - "variable.parameter.function.language.special.self.python", - "meta.function-call.generic.python" + "meta.function-call.generic.python", ], "settings": { "foreground": "#9effff" @@ -625,7 +624,10 @@ }, { "name": "[PYTHON] - Function Call Argument", - "scope": ["meta.function-call.arguments.python"], + "scope": [ + "meta.function-call.arguments.python", + "variable.parameter.function.language.special.self.python" + ], "settings": { "foreground": "#fb94ff" }