Skip to content

Commit

Permalink
Merge branch 'dev' of github.com:huynle/ogpt.nvim into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
huynle committed Feb 7, 2024
2 parents fda6061 + d4395cf commit a8b9ccc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions lua/ogpt/common/popup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ function Popup:init(options, edgy)
if options.edgy and options.border or edgy then
self.edgy = true
options.border = nil
else
options.buf_options.filetype = nil
end
Popup.super.init(self, options)
end
Expand Down
2 changes: 1 addition & 1 deletion lua/ogpt/config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -370,7 +370,7 @@ function M.setup(options)

local function update_edgy_flag(chat_type)
for _, t in ipairs(chat_type) do
if not M.options[t].edgy then
if M.options[t].edgy == nil then
M.options[t].edgy = M.options.edgy
end
end
Expand Down

0 comments on commit a8b9ccc

Please sign in to comment.