summaryrefslogtreecommitdiff
path: root/src/method/textDocument
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-11-19 15:05:54 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-11-19 15:05:54 +0800
commit14f6d57ba711eb2d64470270ee7191181bfa25dc (patch)
treeb804f09e00505e00d0afc107a17902882bd14d61 /src/method/textDocument
parent9bfdfee9ede310b1331ae694890fa8f473cbc39c (diff)
downloadlua-language-server-14f6d57ba711eb2d64470270ee7191181bfa25dc.zip
先不支持差量更新
Diffstat (limited to 'src/method/textDocument')
-rw-r--r--src/method/textDocument/didChange.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/method/textDocument/didChange.lua b/src/method/textDocument/didChange.lua
index 6cae5e07..f8fe4320 100644
--- a/src/method/textDocument/didChange.lua
+++ b/src/method/textDocument/didChange.lua
@@ -1,3 +1,5 @@
return function (lsp, params)
+ -- TODO 支持差量更新
+ lsp:saveText(params.url, params.version, params.text)
return true
end