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

31 lines
682 B
Lua

local config = require('argonaut.config')
local types = require('argonaut.types')
local function reflow()
local wrap_context = types.WrapContext.new(config.get())
if wrap_context:parse() then
wrap_context:toggle()
end
end
local function object_a()
local wrap_context = types.WrapContext.new(config.get())
if wrap_context:parse() then
wrap_context:object_a()
end
end
local function object_i()
local wrap_context = types.WrapContext.new(config.get())
if wrap_context:parse() then
wrap_context:object_i()
end
end
return {
reflow = reflow,
setup = config.setup,
object_a = object_a,
object_i = object_i,
}