On Wed, Jun 10, 2020 at 10:52 PM Soni "They/Them" L. <fakedme@gmail.com> wrote:
if you have foo/init.lua you can require it as either "foo" or
"foo.init" and I think lua should detect these and error if you don't
use the shorter one.
it's quite trivial to check this in the searchers themselves.
If it's that trivial, then write your own searcher and replace the stock searchers with it. The code for the existing ones is in loadlib.c.