feat: allow customizing/removing floating title window #285

Closed
opened 2026-04-03 16:58:58 +00:00 by llakala · 2 comments
llakala commented 2026-04-03 16:58:58 +00:00

Prerequisites

Problem

The title seems to have an overlapping issue, at least on my machine.
Image
I planned on just disabling the window, but taking a glance at the code, it seems like the window arguments are hardcoded here.

Proposed solution

The title window arguments should be injectable, just like the normal win and float.win options. It should also be possible to disable the title altogether.

(It also probably shouldn't overlap entries, but who's counting?)

Alternatives considered

No response

### Prerequisites - [x] I have searched [existing issues](https://github.com/barrettruth/canola.nvim/issues) ### Problem The title seems to have an overlapping issue, at least on my machine. <img width="650" height="374" alt="Image" src="https://github.com/user-attachments/assets/2eb75319-19ac-4346-a99d-fe18a4e79d19" /> I planned on just disabling the window, but taking a glance at the code, it seems like the window arguments are hardcoded [here](https://github.com/barrettruth/canola.nvim/blob/21b8408865f587b77062c0e7fff1dc75df6f505a/lua/canola/util.lua#L431). ### Proposed solution The title window arguments should be injectable, just like the normal `win` and `float.win` options. It should also be possible to disable the title altogether. (It also probably shouldn't overlap entries, but who's counting?) ### Alternatives considered _No response_
barrettruth commented 2026-04-03 17:51:45 +00:00

let me know if these fixes work. see title options

let me know if these fixes work. see `title` options
llakala commented 2026-04-03 17:54:01 +00:00

Yep, working great on the canola branch.

Yep, working great on the canola branch.
Sign in to join this conversation.
No description provided.