summaryrefslogtreecommitdiff
path: root/server/src/method/textDocument
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-01-16 16:59:11 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-01-16 16:59:11 +0800
commitd61fdf6028f3eadc4065182162555ae6dcaa0d48 (patch)
treec4395518abcfd032f96113d94e1d025edb71d189 /server/src/method/textDocument
parent137bcd30a978ab67994dacdfd83b8cb88d5df6a3 (diff)
downloadlua-language-server-d61fdf6028f3eadc4065182162555ae6dcaa0d48.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 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