diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2020-09-16 13:05:14 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2020-09-16 13:05:14 +0800 |
commit | af397a0a318dcf3bbf0f7d0cca09ada3b992a042 (patch) | |
tree | 197b650009586c58bf880738b34c80b1e192026a /script-beta/provider/provider.lua | |
parent | cfd28f56f6c0083aede3f16d47976337fecb28e9 (diff) | |
download | lua-language-server-af397a0a318dcf3bbf0f7d0cca09ada3b992a042.zip |
内部文档窗口
Diffstat (limited to 'script-beta/provider/provider.lua')
-rw-r--r-- | script-beta/provider/provider.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/script-beta/provider/provider.lua b/script-beta/provider/provider.lua index fc8b8001..23860f82 100644 --- a/script-beta/provider/provider.lua +++ b/script-beta/provider/provider.lua @@ -65,7 +65,7 @@ local function updateConfig() end proto.on('initialize', function (params) - --log.debug(util.dump(params)) + client.init(params) if params.workspaceFolders then local name = params.workspaceFolders[1].name local uri = params.workspaceFolders[1].uri @@ -78,7 +78,6 @@ end) proto.on('initialized', function (params) updateConfig() - client.init(params) proto.awaitRequest('client/registerCapability', { registrations = { -- 监视文件变化 |