diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2018-11-19 16:17:43 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2018-11-19 16:17:43 +0800 |
commit | 62d6c3727e4792ff3983e4198de94c34bba289a2 (patch) | |
tree | 44b46fe64ed004e2a7b78c2ff5b451ff98c41d72 /src | |
parent | ed1bf904bc15c97344dc59745c32d3f741eb1449 (diff) | |
download | lua-language-server-62d6c3727e4792ff3983e4198de94c34bba289a2.zip |
去掉一些日志
Diffstat (limited to 'src')
-rw-r--r-- | src/lsp.lua | 7 | ||||
-rw-r--r-- | src/method/textDocument/definition.lua | 1 |
2 files changed, 0 insertions, 8 deletions
diff --git a/src/lsp.lua b/src/lsp.lua index 6c7cee62..0f84671b 100644 --- a/src/lsp.lua +++ b/src/lsp.lua @@ -65,13 +65,6 @@ function mt:_readAsContent(header) id = id, result = response, } - self:_send { - method = 'window/showMessage', - params = { - type = 3, - message = method, - } - } elseif id then self:_send { id = id, diff --git a/src/method/textDocument/definition.lua b/src/method/textDocument/definition.lua index ef9f4c17..392696d1 100644 --- a/src/method/textDocument/definition.lua +++ b/src/method/textDocument/definition.lua @@ -2,7 +2,6 @@ local parser = require 'parser' local matcher = require 'matcher' return function (lsp, params) - log.debug(table.dump(params)) local uri = params.textDocument.uri local text = lsp:loadText(uri) if not text then |