summaryrefslogtreecommitdiff
path: root/src/method/textDocument/didChange.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/method/textDocument/didChange.lua')
-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