summaryrefslogtreecommitdiff
path: root/script/provider/semantic-tokens.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-01-29 15:05:13 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-01-29 15:05:13 +0800
commit204eb0217b5c209dbd9bf9e962e2b2d630374fa9 (patch)
tree7c57b9c57b482ecabd9beb7487ffd353e6727497 /script/provider/semantic-tokens.lua
parent4556d55e6e944f122db9cbb8c4d126d43dc8710d (diff)
downloadlua-language-server-204eb0217b5c209dbd9bf9e962e2b2d630374fa9.zip
check in VSCode
Diffstat (limited to 'script/provider/semantic-tokens.lua')
-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,