marta.expose()
marta.plugin({id="crash", name="crash", apiVersion="2.1"})
marta.action({id="crash", name="crash",
apply = function(ctxA)
local crashes = marta.globalContext.get("behavior")
-- local works = marta.globalContext.get("behavior","theme")
end})
Don't think the getter should ever crash
(find it a bit strange that to get the theme I need to type it twice works["theme"], I'd expect to get the string value right away and only get a table if it's a nested table in the configs)
Don't think the getter should ever crash (find it a bit strange that to get the theme I need to type it twice
works["theme"]
, I'd expect to get the string value right away and only get a table if it's a nested table in the configs)