hello.lua

 1-- hello.lua
 2-- A minimal example plugin that logs lifecycle events.
 3
 4local matcha = require("matcha")
 5
 6matcha.on("startup", function()
 7  matcha.log("hello plugin loaded")
 8end)
 9
10matcha.on("shutdown", function()
11  matcha.log("hello plugin shutting down, goodbye!")
12end)