From 204eb0217b5c209dbd9bf9e962e2b2d630374fa9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Fri, 29 Jan 2021 15:05:13 +0800 Subject: check in VSCode --- script/provider/semantic-tokens.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/provider/semantic-tokens.lua b/script/provider/semantic-tokens.lua index 76fede85..bc8f81b9 100644 --- a/script/provider/semantic-tokens.lua +++ b/script/provider/semantic-tokens.lua @@ -44,7 +44,7 @@ local function enable() }, } }) - if config.other.semantic ~= true and not dontShowAgain then + if config.other.semantic == 'configuredByTheme' and not dontShowAgain then local item = proto.awaitRequest('window/showMessageRequest', { type = define.MessageType.Info, message = lang.script.WINDOW_CHECK_SEMANTIC, -- cgit v1.2.3