summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-10-30 16:39:11 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-10-30 16:39:11 +0800
commitb964c31fb2e9aba9e29c19218ba75538e2ce19fd (patch)
tree12e7ad4521641ed98c412fb3dd0c36e677dadaaa
parentb9c2e1475efca8ea4c0951c8d5ebf540d5a14415 (diff)
downloadlua-language-server-b964c31fb2e9aba9e29c19218ba75538e2ce19fd.zip
去掉多余的日志
-rw-r--r--script-beta/core/document-symbol.lua4
1 files changed, 0 insertions, 4 deletions
diff --git a/script-beta/core/document-symbol.lua b/script-beta/core/document-symbol.lua
index 56d0dfbc..7392b337 100644
--- a/script-beta/core/document-symbol.lua
+++ b/script-beta/core/document-symbol.lua
@@ -296,16 +296,12 @@ local function packSymbols(symbols)
end
return function (uri)
- local clock = os.clock()
local symbols = makeSymbol(uri)
if not symbols then
return nil
end
- log.debug('doc#1', uri, os.clock() - clock)
- local clock = os.clock()
local packedSymbols = packSymbols(symbols)
- log.debug('doc#2', uri, os.clock() - clock)
return packedSymbols
end