summaryrefslogtreecommitdiff
path: root/src/method/initialize.lua
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/initialize.lua
parent9bfdfee9ede310b1331ae694890fa8f473cbc39c (diff)
downloadlua-language-server-14f6d57ba711eb2d64470270ee7191181bfa25dc.zip
先不支持差量更新
Diffstat (limited to 'src/method/initialize.lua')
-rw-r--r--src/method/initialize.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/method/initialize.lua b/src/method/initialize.lua
index 31c628de..f16365c0 100644
--- a/src/method/initialize.lua
+++ b/src/method/initialize.lua
@@ -9,8 +9,8 @@ return function (lsp, data)
textDocumentSync = {
-- 打开关闭文本时通知
openClose = true,
- -- 文本改变时增量通知
- change = 2,
+ -- 文本改变时完全通知 TODO 支持差量更新(2)
+ change = 1,
}
}
}