- press ENTER to search or ESC to cancel
local library = require "library"
Returns a pointer to the given library/module. This function will try
to find the
library.lua file in the same folder of the script that
was executed, or if it's running a plugin, it will
try to find
library.lua from the plugin folder.
Libraries between plugins are not shared, as they will be stored in
_LOADED table with the plugin.name as a
plugin-name/module) to avoid conflicts between similar
More details in the Programming in Lua book: https://www.lua.org/pil/8.1.html
Prints an error message when
false and stops the
execution of the script. This method is used for unit-testing.
print(object) print(object1, object2, ...)
Prints the given objects (generally strings) into the console (the
Terminal if we're executing the script in