diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-23 16:27:20 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-23 16:27:20 +0800 |
commit | 4220ff641c7c2dba943eefe3d0a2e6d99cc523c6 (patch) | |
tree | dc4a7c96334a6c977b48e15a2a9c5e5d296f5f3c /script/provider/provider.lua | |
parent | edeadaad1c8b168e010236b72a0dfa5dfc43c915 (diff) | |
download | lua-language-server-4220ff641c7c2dba943eefe3d0a2e6d99cc523c6.zip |
cleanup
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r-- | script/provider/provider.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 6ffb0837..4734686b 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -821,8 +821,8 @@ do if piece then for _, edit in ipairs(piece) do edits[#edits+1] = { - newText = edit.newText, - range = files.range(uri, edit.start, edit.finish) + newText = ':' .. edit.text, + range = files.range(uri, edit.offset, edit.offset) } end end |