I have a Lua module written in C compiled as a shared library, but when I use the module, editors cannot autocomplete it because they cannot see the content of the library.
In C, editors can deduce from the header files, how do you do that in Lua?
The Lua standard library does that but I can't figure out how. Every lua editor can tell me about standard library functions (their signature and documentation). How does it get this info from? How do I add such documentation to my own lua module?