From 4a78e36b29becd1b04c2b4bb5ad1798d30ec7f90 Mon Sep 17 00:00:00 2001 From: Mc-GrowlR Date: Sat, 28 Dec 2024 20:23:19 +0800 Subject: [PATCH] delete `_` --- script/provider/provider.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/script/provider/provider.lua b/script/provider/provider.lua index c1e9a0d20..8b988059e 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -139,10 +139,10 @@ m.register 'initialize' { m.register 'initialized'{ ---@async - function (_params) + function (params) local _ = progress.create(workspace.getFirstScope().uri, lang.script.WINDOW_INITIALIZING, 0.5) --- 传递`.luarc.doc.json`文件所在的文件夹路径 - m.updateConfig(_params and _params.luarcParentUri) + m.updateConfig(params and params.luarcParentUri) local registrations = {} if client.getAbility 'workspace.didChangeConfiguration.dynamicRegistration' then