Skip to content

Commit

Permalink
overhaul complete
Browse files Browse the repository at this point in the history
  • Loading branch information
huynle committed Jan 28, 2024
1 parent 92bf185 commit 6193f34
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lua/ogpt/flows/actions/edits/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ local BaseAction = require("ogpt.flows.actions.base")
local utils = require("ogpt.utils")
local Config = require("ogpt.config")
local Layout = require("nui.layout")
local Split = require("nui.split")
local Popup = require("nui.popup")
local ChatInput = require("ogpt.input")
local Parameters = require("ogpt.parameters")
Expand Down Expand Up @@ -201,7 +202,15 @@ function EditAction:edit_with_instructions(output_lines, selection, opts, ...)
end),
})

local split = Split({
-- relative = "editor",
position = "right",
-- size = "20%",
})

layout = Layout(
-- split,

{
relative = "editor",
position = "50%",
Expand Down

0 comments on commit 6193f34

Please sign in to comment.