summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-03-01 15:15:38 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-03-01 15:15:38 +0800
commitbf8a629270d9e259f0149fa9d4af08d6135eaff5 (patch)
treee02f5933b616bace9c8903ada1b888c31ab2b5e4
parent6a02e5c4b0c3bebf009fe4c455fe6b0f36cd7a52 (diff)
downloadlua-language-server-bf8a629270d9e259f0149fa9d4af08d6135eaff5.zip
remove log
-rw-r--r--script/provider/provider.lua4
1 files changed, 1 insertions, 3 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua
index 9b43a4a2..58b7ddb8 100644
--- a/script/provider/provider.lua
+++ b/script/provider/provider.lua
@@ -429,7 +429,7 @@ proto.on('textDocument/prepareRename', function (params)
placeholder = result.text,
}
end)
-require 'tracy'.enable()
+
proto.on('textDocument/completion', function (params)
await.close('completion')
await.setID('completion')
@@ -724,7 +724,6 @@ proto.on('textDocument/semanticTokens/full', function (params)
local _ <close> = progress.create(lang.script.WINDOW_PROCESSING_SEMANTIC_FULL, 0.5)
local core = require 'core.semantic-tokens'
local uri = params.textDocument.uri
- log.debug('semanticTokens/full', uri)
local text = files.getText(uri)
while not text do
await.sleep(0.1)
@@ -741,7 +740,6 @@ proto.on('textDocument/semanticTokens/range', function (params)
local _ <close> = progress.create(lang.script.WINDOW_PROCESSING_SEMANTIC_RANGE, 0.5)
local core = require 'core.semantic-tokens'
local uri = params.textDocument.uri
- log.debug('semanticTokens/range', uri)
while not files.exists(uri) do
await.sleep(0.1)
end