summaryrefslogtreecommitdiff
path: root/server/src/method/textDocument
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-14 10:36:51 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-14 10:36:51 +0800
commitdcecbc77caf8f1c6cace69f5065ffd256ee56a0d (patch)
tree713762f86085bbe1503f98fef31d8ea6d7a5b1e5 /server/src/method/textDocument
parent96574328fd631b8fd3b875517a0ed258db568064 (diff)
downloadlua-language-server-dcecbc77caf8f1c6cace69f5065ffd256ee56a0d.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