summaryrefslogtreecommitdiff
path: root/script/provider
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-03-25 21:15:53 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-03-27 15:16:23 +0800
commitf1f54501072f35997e4db848aa0b43a0e59a1d8f (patch)
treed14f30dcdd0e5a3d97354f8b717ca146ea39ccda /script/provider
parent7d3cb7a0c80a52024c2545bd946f4d2a2f44c70f (diff)
downloadlua-language-server-f1f54501072f35997e4db848aa0b43a0e59a1d8f.zip
#462 show message of telemetry
Diffstat (limited to 'script/provider')
-rw-r--r--script/provider/provider.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index 2d3ef6b3..e9974250 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -21,7 +21,7 @@ local tm = require 'text-merger'
local function updateConfig()
local diagnostics = require 'provider.diagnostic'
- local vm = require 'vm'
+ local telemetry = require 'service.telemetry'
local configs = proto.awaitRequest('workspace/configuration', {
items = {
{
@@ -94,6 +94,7 @@ local function updateConfig()
else
proto.notify('$/status/hide')
end
+ telemetry.updateConfig()
end
proto.on('initialize', function (params)