Open yifanlu opened 7 years ago
I think that it's not really needed because each plugin could make a mypluginconfig.txt file if needed. Doesn't that improvement risk to break compatibility ? Regards
It won't break compatibility because if you don't pass in any option, nothing different will happen and if you pass in an option that the plugin doesn't know about, it won't handle it. The idea is that it's messy if every plugin has its own config file if they only need like 1 integer or string as configuration.
i have started work on this, currently adding an additional config token to the lexer for this.
It might be worth adding optional arguments to plugins by passing any string after the plugin path to the
module_start
function.