Skip to content

Commit

Permalink
feat: add title_pos option for floating window
Browse files Browse the repository at this point in the history
  • Loading branch information
flw-cn committed Oct 6, 2024
1 parent 9333944 commit 57809b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/CopilotChat/chat.lua
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ function Chat:open(config)
relative = window.relative,
border = window.border,
title = window.title,
title_pos = window.title_pos,
row = window.row or math.floor((vim.o.lines - height) / 2),
col = window.col or math.floor((vim.o.columns - width) / 2),
}
Expand Down

0 comments on commit 57809b0

Please sign in to comment.