summaryrefslogtreecommitdiff
path: root/src/method/textDocument/didChange.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-11-19 17:48:40 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-11-19 17:48:40 +0800
commit3fd972facc6dfb859d71899309723243b7b93880 (patch)
treec8826db23766ded68326972683e14b80b4cd0ad1 /src/method/textDocument/didChange.lua
parentc25e44113af96356dddf8098c375e2537ebb1b4d (diff)
downloadlua-language-server-3fd972facc6dfb859d71899309723243b7b93880.zip
减少无用日志
Diffstat (limited to 'src/method/textDocument/didChange.lua')
-rw-r--r--src/method/textDocument/didChange.lua1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/method/textDocument/didChange.lua b/src/method/textDocument/didChange.lua
index 09c62a6f..6856b729 100644
--- a/src/method/textDocument/didChange.lua
+++ b/src/method/textDocument/didChange.lua
@@ -1,7 +1,6 @@
return function (lsp, params)
local doc = params.textDocument
local change = params.contentChanges
- log.debug('更新文件:', doc.uri)
-- TODO 支持差量更新
lsp:saveText(doc.uri, doc.version, change[1].text)
return true