summaryrefslogtreecommitdiff
path: root/server/src/method/textDocument/didClose.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-11-23 17:02:29 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-11-23 17:02:29 +0800
commit9d2265692897472cb1efc3891ef89fe3a58126b0 (patch)
tree5a318c3c3132283a49e01a644dd9d76e80964684 /server/src/method/textDocument/didClose.lua
parent10569576cf9ff1a560a5b93a031eeb55e4d20cfe (diff)
downloadlua-language-server-9d2265692897472cb1efc3891ef89fe3a58126b0.zip
加个日志查bug
Diffstat (limited to 'server/src/method/textDocument/didClose.lua')
-rw-r--r--server/src/method/textDocument/didClose.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/src/method/textDocument/didClose.lua b/server/src/method/textDocument/didClose.lua
index d4edb624..c4778293 100644
--- a/server/src/method/textDocument/didClose.lua
+++ b/server/src/method/textDocument/didClose.lua
@@ -1,5 +1,6 @@
return function (lsp, params)
local doc = params.textDocument
+ log.debug('Close file:', doc.uri)
lsp:removeText(doc.uri, doc.version)
return true
end