summaryrefslogtreecommitdiff
path: root/script/provider/capability.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-01-19 11:49:09 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-01-19 11:49:09 +0800
commit1458139721646236406825a03a21152d98753515 (patch)
tree99d931e0c103e5047d1a0eb8b502aa1670a04979 /script/provider/capability.lua
parentc7a0b295570e78a43f0819d9e0ba9a4c076b7e1a (diff)
downloadlua-language-server-1458139721646236406825a03a21152d98753515.zip
supports incremental text sync
Diffstat (limited to 'script/provider/capability.lua')
-rw-r--r--script/provider/capability.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/provider/capability.lua b/script/provider/capability.lua
index 0d24b120..9a8d4f9b 100644
--- a/script/provider/capability.lua
+++ b/script/provider/capability.lua
@@ -19,8 +19,8 @@ function m.getIniter()
textDocumentSync = {
-- 打开关闭文本时通知
openClose = true,
- -- 文本改变时完全通知 TODO 支持差量更新(2)
- change = 1,
+ -- 文本增量更新
+ change = 2,
},
hoverProvider = true,