Skip to content

Make custom Lua.addonManager.repositoryPath work - #193

Open
elekTom wants to merge 1 commit into
LuaLS:masterfrom
elekTom:custom-repositoryPath-fix
Open

elekTom wants to merge 1 commit into
LuaLS:masterfrom
elekTom:custom-repositoryPath-fix

Conversation

@elekTom

@elekTom elekTom commented Oct 15, 2026

Copy link
Copy Markdown

What does it fix

When using a custom Lua.addonManager.repositoryPath the addon manager places it under workspaceStorage but the server always looks under globalStorage, where it can only find the default one.

How is it fixed

This was already noticed and diagnosed over a year ago here LuaLS/lua-language-server#3230 but it apparently didn't result in a PR.
So this PR just tries to apply these fixes.

I also tested this with a custom Lua.addonManager.repositoryPath and everything appears to work as expected.
But I'm not sure if activating addonManager before languageserver might have some side effects.

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.

1 participant