summaryrefslogtreecommitdiff
path: root/server/src/method/textDocument
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-06 10:59:39 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-06 10:59:39 +0800
commitefb6d32c5b47de601e2784536c6181a27b06e784 (patch)
tree4a70369d4aa4f02612ad31cdf30dbcab656017b4 /server/src/method/textDocument
parent81913034c6481c95ace92b647370e80dcee954bb (diff)
downloadlua-language-server-efb6d32c5b47de601e2784536c6181a27b06e784.zip
不再关闭文件
Diffstat (limited to 'server/src/method/textDocument')
-rw-r--r--server/src/method/textDocument/didClose.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/src/method/textDocument/didClose.lua b/server/src/method/textDocument/didClose.lua
index d4edb624..d7f2841a 100644
--- a/server/src/method/textDocument/didClose.lua
+++ b/server/src/method/textDocument/didClose.lua
@@ -1,5 +1,5 @@
return function (lsp, params)
local doc = params.textDocument
- lsp:removeText(doc.uri, doc.version)
+ --lsp:removeText(doc.uri, doc.version)
return true
end