From d4b4de10daf18e389fc2b1c5d06e20ed433fcf04 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Tue, 22 Jan 2019 16:07:06 +0800 Subject: =?UTF-8?q?=E6=95=B4=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/src/method/textDocument/didClose.lua | 1 - server/src/method/textDocument/didOpen.lua | 1 - 2 files changed, 2 deletions(-) (limited to 'server/src/method/textDocument') diff --git a/server/src/method/textDocument/didClose.lua b/server/src/method/textDocument/didClose.lua index 7d097407..d4edb624 100644 --- a/server/src/method/textDocument/didClose.lua +++ b/server/src/method/textDocument/didClose.lua @@ -1,6 +1,5 @@ return function (lsp, params) local doc = params.textDocument lsp:removeText(doc.uri, doc.version) - lsp:close(doc.uri) return true end diff --git a/server/src/method/textDocument/didOpen.lua b/server/src/method/textDocument/didOpen.lua index b6710d6b..27fdda71 100644 --- a/server/src/method/textDocument/didOpen.lua +++ b/server/src/method/textDocument/didOpen.lua @@ -1,6 +1,5 @@ return function (lsp, params) local doc = params.textDocument lsp:saveText(doc.uri, doc.version, doc.text) - lsp:open(doc.uri) return true end -- cgit v1.2.3