From 8a2c2833aed65107420ee2a7bf619bebcafc98bf Mon Sep 17 00:00:00 2001 From: Nari Lee Date: Sun, 24 Sep 2023 00:22:10 +0900 Subject: [PATCH] adjust color for regular expression definition string and optional flags --- themes/new_darcula.json | 7 ++++++- themes/new_dark.json | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/themes/new_darcula.json b/themes/new_darcula.json index 8775744..be6c2ed 100644 --- a/themes/new_darcula.json +++ b/themes/new_darcula.json @@ -362,7 +362,12 @@ } }, { - "scope": ["constant.numeric", "keyword.operator.quantifier.regexp"], + "scope": [ + "constant.numeric", + "keyword.operator.quantifier.regexp", + "string.regexp punctuation.definition.string", + "string.regexp keyword.other" + ], "settings": { "foreground": "#2cabb8" } diff --git a/themes/new_dark.json b/themes/new_dark.json index e5b1b65..0a987bd 100644 --- a/themes/new_dark.json +++ b/themes/new_dark.json @@ -370,7 +370,12 @@ } }, { - "scope": ["constant.numeric", "keyword.operator.quantifier.regexp"], + "scope": [ + "constant.numeric", + "keyword.operator.quantifier.regexp", + "string.regexp punctuation.definition.string", + "string.regexp keyword.other" + ], "settings": { "foreground": "#2cabb8" }