From d01f29a4f7de532a81f89aa24650dc97ad42e8c5 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Wed, 11 Dec 2024 10:26:16 +0100 Subject: [PATCH] Improve parameters in JavaScript --- themes/ShinyCode-color-theme.json | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/themes/ShinyCode-color-theme.json b/themes/ShinyCode-color-theme.json index 72916f2..4914e0a 100644 --- a/themes/ShinyCode-color-theme.json +++ b/themes/ShinyCode-color-theme.json @@ -97,7 +97,8 @@ { "name": "Function parameters", "scope": [ - "meta.function.definition variable" + "meta.function.definition variable", + "variable.parameter", ], "settings": { "foreground": "#F2E57F", // action 90 @@ -107,6 +108,7 @@ "name": "Function definitions", "scope": [ "meta.function.definition entity.name.function", + "meta.definition entity.name.function", ], "settings": { "foreground": "#B9AC37", // action 70 @@ -193,11 +195,8 @@ "keyword": { "foreground": "#F58F59", }, - "function": { - "foreground": "#6E7D16", - }, - "method": { - "foreground": "#6E7D16", + "parameter": { + "foreground": "#F2E57F" }, "function.declaration":{ "foreground": "#B9AC37", @@ -207,6 +206,12 @@ "foreground": "#B9AC37", "fontStyle": "bold" }, + "function": { + "foreground": "#6E7D16", + }, + "method": { + "foreground": "#6E7D16", + }, "interface": { "foreground":"#308832", },