diff options
Diffstat (limited to 'script-beta/provider/provider.lua')
-rw-r--r-- | script-beta/provider/provider.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/script-beta/provider/provider.lua b/script-beta/provider/provider.lua index 1f49f641..fc8b8001 100644 --- a/script-beta/provider/provider.lua +++ b/script-beta/provider/provider.lua @@ -9,6 +9,7 @@ local workspace = require 'workspace' local config = require 'config' local library = require 'library' local markdown = require 'provider.markdown' +local client = require 'provider.client' local function updateConfig() local configs = proto.awaitRequest('workspace/configuration', { @@ -77,6 +78,7 @@ end) proto.on('initialized', function (params) updateConfig() + client.init(params) proto.awaitRequest('client/registerCapability', { registrations = { -- 监视文件变化 |