diff --git a/changelog.md b/changelog.md index 97605aa7e..8c8dfc949 100644 --- a/changelog.md +++ b/changelog.md @@ -3,6 +3,7 @@ ## Unreleased * `FIX` incorrect argument skip pattern for `--check_out_path=`, which incorrectly skips the next argument +* `FIX` .luarc.json not being found in certain workspace using zed * `CHG` default path for `--doc_out_path` is the current directory * `FIX` incorrect error message for `--doc_update`. * `FIX` reimplement section `luals.config` in file doc.json diff --git a/script/files.lua b/script/files.lua index f61330e21..e9e25c046 100644 --- a/script/files.lua +++ b/script/files.lua @@ -99,7 +99,7 @@ function m.getRealUri(uri) if uri == ruri then return ruri end - local real = getRealParent(path:parent_path()) / res:filename() + local real = getRealParent(path:parent_path()) ruri = furi.encode(real:string()) if uri == ruri then return ruri