We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d702a55 commit 3a34b72Copy full SHA for 3a34b72
changelog.md
@@ -2,6 +2,7 @@
2
3
## Unreleased
4
<!-- Add all new changes here. They will be moved under a version at release -->
5
+* `FIX` Renaming files in the directory leads to the auto-correction in "require" adding extra characters.
6
7
## 3.10.4
8
`2024-8-16`
script/provider/provider.lua
@@ -222,7 +222,7 @@ m.register 'workspace/didRenameFiles' {
222
for _, uri in ipairs(childs) do
223
if files.exists(uri) then
224
local ouri = uri
225
- local tail = ouri:sub(#oldUri)
+ local tail = ouri:sub(#oldUri + 1)
226
local nuri = file.newUri .. tail
227
renames[#renames+1] = {
228
oldUri = ouri,
0 commit comments