File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change 44<!-- Add all new changes here. They will be moved under a version at release -->
55* ` NEW ` using ` enum (partial) ` , it suggests all fields with the same ` enum ` type rather than just the fields from the current table.
66* ` NEW ` When using ` enum["<key>" or <index>] ` , undefined fields will raise an 'undefined' error.
7+ * ` FIX ` Renaming files in the directory leads to the auto-correction in "require" adding extra characters.
78
89## 3.10.4
910` 2024-8-16 `
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ m.register 'workspace/didRenameFiles' {
222222 for _ , uri in ipairs (childs ) do
223223 if files .exists (uri ) then
224224 local ouri = uri
225- local tail = ouri :sub (# oldUri )
225+ local tail = ouri :sub (# oldUri + 1 )
226226 local nuri = file .newUri .. tail
227227 renames [# renames + 1 ] = {
228228 oldUri = ouri ,
You can’t perform that action at this time.
0 commit comments