2024-04-20 19:03:24 +00:00
|
|
|
local config = require('argonaut.config')
|
2024-04-22 00:20:57 +00:00
|
|
|
local types = require('argonaut.types')
|
2022-12-30 23:10:22 +00:00
|
|
|
|
2024-04-25 03:02:10 +00:00
|
|
|
local function reflow()
|
2024-04-25 03:32:12 +00:00
|
|
|
local wrap_context = types.WrapContext.new(config.get())
|
|
|
|
if wrap_context:parse() then
|
|
|
|
wrap_context:toggle()
|
2024-04-25 03:02:10 +00:00
|
|
|
end
|
2022-12-30 23:10:22 +00:00
|
|
|
end
|
|
|
|
|
2022-12-30 18:40:23 +00:00
|
|
|
return {
|
2024-04-25 03:02:10 +00:00
|
|
|
reflow = reflow,
|
2024-04-30 03:33:02 +00:00
|
|
|
setup = config.setup,
|
2022-12-30 18:40:23 +00:00
|
|
|
}
|