print("Hello, world, from " .. _VERSION .. "!")
print("Do we have access to the sued buffer?")
if sued_buffer then
print("Yes, so we're running under sued!")
else
print("No! Go and get some sued in your life!")
print("https://codeberg.org/AeriaVelocity/sued")
return false
end
if #sued_buffer == 0 then
print("But it's empty! How are we supposed to do anything with this?!")
return true
end
print("Here's everything in the buffer:")
for index, line in ipairs(sued_buffer) do
print(index .. "│" .. line)
end
print("Wait a minute, sued's `main.lua` already does that.")
print_buffer()