Benjamin-Dobell / IntelliJ-Luanalysis

Type-safe Lua IDE — IntelliJ IDEA plugin
Apache License 2.0
155 stars 21 forks source link

[Upstream similar bug tracking] init.lua not processed #66

Open adriweb opened 3 years ago

adriweb commented 3 years ago

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

Benjamin-Dobell commented 3 years ago

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.

adriweb commented 3 years ago

Indeed!

posborne commented 3 years ago

No objection to that approach.