Skip to content

FIX .luarc.json not being found in certain workspace using zed#3100

Closed
beingsuz wants to merge 2 commits intoLuaLS:masterfrom
beingsuz:patch-1
Closed

FIX .luarc.json not being found in certain workspace using zed#3100
beingsuz wants to merge 2 commits intoLuaLS:masterfrom
beingsuz:patch-1

Conversation

@beingsuz
Copy link

removed res:filename() since its already appended by getRealParent

when using in a workspace using Zed it would always add twice the folder at the end of the path causing the config file to not being found

`local real = getRealParent(path:parent_path()) / res:filename() ` to `local real = getRealParent(path:parent_path())` since `getRealParent` already add `res:filename()`
@sumneko
Copy link
Collaborator

sumneko commented Mar 12, 2025

This feature is currently working fine; the only flaw is that the name getRealParent is misleading; its actual function is getRealPath. I believe the issue you're encountering is caused by something else.

@beingsuz beingsuz closed this Jun 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants