summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--script/provider/semantic-tokens.lua2
1 files changed, 1 insertions, 1 deletions
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,