summaryrefslogtreecommitdiff
path: root/script/workspace/workspace.lua
diff options
context:
space:
mode:
Diffstat (limited to 'script/workspace/workspace.lua')
-rw-r--r--script/workspace/workspace.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index 06bb900d..6f99891e 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -229,11 +229,12 @@ function m.awaitPreload()
local diagnostic = require 'provider.diagnostic'
await.close 'preload'
await.setID 'preload'
+ await.sleep(0.1)
diagnostic.pause()
m.libraryMatchers = nil
m.nativeMatcher = nil
m.cache = {}
- local progressBar <close> = progress.create('正在加载文件', 0)
+ local progressBar <close> = progress.create(lang.script.WORKSPACE_LOADING)
local progressData = {
max = 0,
read = 0,