1
argonaut.nvim/lua/argonaut/init.lua

15 lines
300 B
Lua
Raw Normal View History

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,
setup = config.set,
2022-12-30 18:40:23 +00:00
}