summaryrefslogtreecommitdiff
path: root/server/src/method/textDocument
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-20 17:48:00 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-20 17:48:00 +0800
commita86fd17a46399a118c206c9d9470c3317dd1f38d (patch)
tree7bf70d945f03b688c780bb0539547e201cd91f44 /server/src/method/textDocument
parentfe7fcceba31069c08121c6a41cad6a9db5c05d07 (diff)
downloadlua-language-server-a86fd17a46399a118c206c9d9470c3317dd1f38d.zip
requires延迟合并
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 5da33010..7d097407 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