summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-01-05 19:55:23 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-01-05 19:55:23 +0800
commitb00533675b11322b79214f9e707bdc006cb43746 (patch)
treedc34764b3ae5d92a8f59433b8de76664c2ca300b /script
parentb15011a1b18cfc70081ac83dbf3b561f15b1551f (diff)
downloadlua-language-server-b00533675b11322b79214f9e707bdc006cb43746.zip
delay loading progress
Diffstat (limited to 'script')
-rw-r--r--script/workspace/loading.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/workspace/loading.lua b/script/workspace/loading.lua
index 7730946b..50a48038 100644
--- a/script/workspace/loading.lua
+++ b/script/workspace/loading.lua
@@ -159,7 +159,7 @@ local m = {}
function m.create(scp)
local loading = setmetatable({
scp = scp,
- _bar = progress.create(scp, lang.script('WORKSPACE_LOADING', scp.uri)),
+ _bar = progress.create(scp, lang.script('WORKSPACE_LOADING', scp.uri), 0.5),
_stash = {},
_cache = {},
}, mt)