IntelliJ-Luanalysis icon indicating copy to clipboard operation
IntelliJ-Luanalysis copied to clipboard

[Upstream similar bug tracking] init.lua not processed

Open adriweb opened this issue 3 years ago • 3 comments

This is to track the upstream issue https://github.com/EmmyLua/IntelliJ-EmmyLua/issues/415 which applies to this plugin as well.

adriweb avatar Mar 17 '21 19:03 adriweb

The upstream issue is perhaps a little off. We don't want special support for <module_name>/init.lua, as that behaviour isn't baked into Lua. Rather Lua uses LUA_PATH for resolving modules on disk.

That said, we should add a LUA_PATH-like configuration option, so that this is user configurable.

Benjamin-Dobell avatar Mar 17 '21 19:03 Benjamin-Dobell

Indeed!

adriweb avatar Mar 17 '21 20:03 adriweb

No objection to that approach.

posborne avatar Mar 17 '21 21:03 posborne