diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-03-01 15:15:38 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-03-01 15:15:38 +0800 |
commit | bf8a629270d9e259f0149fa9d4af08d6135eaff5 (patch) | |
tree | e02f5933b616bace9c8903ada1b888c31ab2b5e4 /script/provider/provider.lua | |
parent | 6a02e5c4b0c3bebf009fe4c455fe6b0f36cd7a52 (diff) | |
download | lua-language-server-bf8a629270d9e259f0149fa9d4af08d6135eaff5.zip |
remove log
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r-- | script/provider/provider.lua | 4 |
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 |