summaryrefslogtreecommitdiff
path: root/script/workspace
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-11-07 21:00:59 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-11-07 21:00:59 +0800
commit34d32a478bcd066baf49ccf36f5f26a132cbfab8 (patch)
treeb0efdb7103dde9cf5b7f16f3a24886bf555708a7 /script/workspace
parent0618f3793e2687e5e15e9d5a51838d61b306dec5 (diff)
downloadlua-language-server-34d32a478bcd066baf49ccf36f5f26a132cbfab8.zip
fix warning
Diffstat (limited to 'script/workspace')
-rw-r--r--script/workspace/workspace.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/workspace/workspace.lua b/script/workspace/workspace.lua
index 2e6e8652..b6be6fc5 100644
--- a/script/workspace/workspace.lua
+++ b/script/workspace/workspace.lua
@@ -315,7 +315,7 @@ function m.awaitPreload(scp)
local uri = files.getRealUri(furi.encode(path))
scp:get('cachedUris')[uri] = true
ld:loadFile(uri)
- end, function () ---@async
+ end, function (_) ---@async
count = count + 1
if count == 100000 then
client.showMessage('Warning', lang.script('WORKSPACE_SCAN_TOO_MUCH', count, furi.decode(scp.uri)))