diff options
Diffstat (limited to 'script/provider/provider.lua')
-rw-r--r-- | script/provider/provider.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/provider/provider.lua b/script/provider/provider.lua index 6a4b2406..3d1c5d52 100644 --- a/script/provider/provider.lua +++ b/script/provider/provider.lua @@ -222,7 +222,7 @@ m.register 'workspace/didRenameFiles' { for _, uri in ipairs(childs) do if files.exists(uri) then local ouri = uri - local tail = ouri:sub(#oldUri) + local tail = ouri:sub(#oldUri + 1) local nuri = file.newUri .. tail renames[#renames+1] = { oldUri = ouri, |