lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


This is admittedly off topic:

  I have a large scale lua project, located in ~/lua/

Now, I have:

~/lua/foo.lua

foo.lua also depends on sub_modules,

~/lua/foo/cat.lua
~/lua/foo/dog.lua
~/lua/foo/horse.lua

Now, this is all nice ... except this screws up tab completion:

~/lua/$ vim fo<TAB> ...
  this used to get me foo.lua, but now it's a confusion of foo.lua,
foo/*.lua, ...

So I'm trying to figure out a better way organize this, I'm thinking either:

~/lua/_foo.lua
~/lua/foo/cat.lua
~/lua/foo/dog.lua
~/lua/foo/horse.lua

or

~/lua/foo.lua
~/lua/_foo/cat.lua
~/lua/_foo/dog.lua
~/lua/_foo/horse.lua

Question is: is there a better convention to organize this (that also
doesn't screw up auto compeltion?)

Thanks!