diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-11-03 18:36:58 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-11-03 18:36:58 +0800 |
commit | 74478473d38bbe4809d1e2bc4f82376085a65153 (patch) | |
tree | 12d8dea4e9eb3f471b51cdff7a08e2106f54cfa7 /script/provider/capability.lua | |
parent | 6c20773e98ef9028dc543242b12a9a6a8e836cd1 (diff) | |
download | lua-language-server-74478473d38bbe4809d1e2bc4f82376085a65153.zip |
#687 supports `utf-8-offsets`
Diffstat (limited to 'script/provider/capability.lua')
-rw-r--r-- | script/provider/capability.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script/provider/capability.lua b/script/provider/capability.lua index 76cadc0d..b712defc 100644 --- a/script/provider/capability.lua +++ b/script/provider/capability.lua @@ -48,6 +48,7 @@ end function m.getIniter() local initer = { + offsetEncoding = client.getOffsetEncoding(), -- 文本同步方式 textDocumentSync = { -- 打开关闭文本时通知 |