summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-08-01 16:06:20 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-08-01 16:06:20 +0800
commitf1929469e177cde71d10efb8bd286db6ffd4e962 (patch)
treee686c22492b12d3b1d8b971eee65f6e8e91fe469
parenteb9eab4667b63521dfca3ba6ba6180b495cd8c57 (diff)
downloadlua-language-server-f1929469e177cde71d10efb8bd286db6ffd4e962.zip
去掉多余的日志
-rw-r--r--server/src/core/code_action.lua2
-rw-r--r--server/src/method/textDocument/onTypeFormatting.lua2
2 files changed, 1 insertions, 3 deletions
diff --git a/server/src/core/code_action.lua b/server/src/core/code_action.lua
index 4a83241a..2c1fb14d 100644
--- a/server/src/core/code_action.lua
+++ b/server/src/core/code_action.lua
@@ -406,7 +406,5 @@ return function (lsp, uri, diagnostics, range)
end
end
- log.debug(table.dump(results))
-
return results
end
diff --git a/server/src/method/textDocument/onTypeFormatting.lua b/server/src/method/textDocument/onTypeFormatting.lua
index 4943c609..fc9cbdc9 100644
--- a/server/src/method/textDocument/onTypeFormatting.lua
+++ b/server/src/method/textDocument/onTypeFormatting.lua
@@ -1,7 +1,7 @@
return function (lsp, params)
local uri = params.textDocument.uri
local vm, lines = lsp:loadVM(uri)
- log.debug(table.dump(params))
+ --log.debug(table.dump(params))
if not vm then
return nil
end