The UI is great, but i'd like to use it with fzf-lua, that means use this as ui lib to collect rg query and args and use fzf-lua to run the search and present the results.

The API should be like:
require('rgflow').open(nil, nil, vim.uv.cwd(), {
on_enter = function(rgargs)
local fzf = require('fzf-lua')
--- .... use fzf to run the search.
end
})
fzf-lua provided actions so I can bind keymap to easily toggle between fzf-lua picker and rgflow ui to change the args and run search again.
The UI is great, but i'd like to use it with fzf-lua, that means use this as ui lib to collect rg query and args and use fzf-lua to run the search and present the results.
The API should be like:
fzf-lua provided actions so I can bind keymap to easily toggle between fzf-lua picker and rgflow ui to change the args and run search again.