summaryrefslogtreecommitdiff
path: root/script/provider/semantic-tokens.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-11-25 21:38:57 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-11-25 21:38:57 +0800
commit5ec8ad22d27051507c55d49d6144f08132976215 (patch)
tree75c843f738c0283eb19516293f857d29560d9b3c /script/provider/semantic-tokens.lua
parent24f4dfa889cc66bd05223e5d8d36fa19865c772b (diff)
downloadlua-language-server-5ec8ad22d27051507c55d49d6144f08132976215.zip
cleanup
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 68db9b7f..759a9885 100644
--- a/script/provider/semantic-tokens.lua
+++ b/script/provider/semantic-tokens.lua
@@ -47,7 +47,7 @@ local function enable()
},
}
})
- if config.get 'editor.semanticHighlighting.enabled' == 'configuredByTheme' and not dontShowAgain then
+ if config.get(nil, 'editor.semanticHighlighting.enabled') == 'configuredByTheme' and not dontShowAgain then
proto.request('window/showMessageRequest', {
type = define.MessageType.Info,
message = lang.script.WINDOW_CHECK_SEMANTIC,