summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-20 19:05:31 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-20 19:05:31 +0800
commit47341b8fbbf56cbdbe4a3bc320edf5068e81130c (patch)
tree3ce9df3a7d7f679b0fc41af93ec16c87fb244acb
parentda656036f0a6344f418778cede39c0ff14a7ca11 (diff)
downloadlua-language-server-47341b8fbbf56cbdbe4a3bc320edf5068e81130c.zip
先不关文件吧
-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 7d097407..5da33010 100644
--- a/server/src/method/textDocument/didClose.lua
+++ b/server/src/method/textDocument/didClose.lua
@@ -1,6 +1,6 @@
return function (lsp, params)
local doc = params.textDocument
- lsp:removeText(doc.uri, doc.version)
+ --lsp:removeText(doc.uri, doc.version)
lsp:close(doc.uri)
return true
end