summaryrefslogtreecommitdiff
path: root/script/progress.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-01 16:31:18 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-01 16:31:18 +0800
commit3011a124fe961bb623fa627abfd64030f128b4c1 (patch)
treedb3715606e005dd5a444356c58cb3e36f488179a /script/progress.lua
parent329e2d7dfa0268a6288086f1a2e3581d5b31cfc6 (diff)
downloadlua-language-server-3011a124fe961bb623fa627abfd64030f128b4c1.zip
cleanup
Diffstat (limited to 'script/progress.lua')
-rw-r--r--script/progress.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/progress.lua b/script/progress.lua
index 3e630289..c16ddd3d 100644
--- a/script/progress.lua
+++ b/script/progress.lua
@@ -83,7 +83,7 @@ function mt:_update()
and self._clock + self._delay <= os.clock() then
self._updated = os.clock()
self._dirty = false
- if not config.config.window.progressBar then
+ if not config.Lua.window.progressBar then
return
end
proto.request('window/workDoneProgress/create', {
@@ -106,7 +106,7 @@ function mt:_update()
if not self._showed then
return
end
- if not config.config.window.progressBar then
+ if not config.Lua.window.progressBar then
self:remove()
return
end