From 62d6c3727e4792ff3983e4198de94c34bba289a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 19 Nov 2018 16:17:43 +0800 Subject: =?UTF-8?q?=E5=8E=BB=E6=8E=89=E4=B8=80=E4=BA=9B=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lsp.lua | 7 ------- src/method/textDocument/definition.lua | 1 - 2 files changed, 8 deletions(-) (limited to 'src') 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 -- cgit v1.2.3