Hi,
I have a plugin with a number of external modules. I saw some errors at one point (while hacking around) that made me think I may be naming my files incorrectly, so to confirm, here is my file structure currently:
[lua]
plugin
parse.lua
/parse
config.lua
debug.lua
…
[/lua]
Everything works fine with the plugin using the local source, so I assume it is correct. All files are based on the “plugin.parse” namespace.
But, I have also seen this naming style referenced in an error:
[lua]
plugin
plugin_parse.lua
/plugin.parse
plugin_parse_config.lua
plugin_parse_debug.lua
…
[/lua]
Which one is correct? If any. And what is the best practice for external modules?
Thanks in advance.
Cheers.