fix(float): respect resolved border for titles #338
No reviewers
Labels
No labels
autorelease: pending
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream/digest
upstream/pr
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
barrettruth/canola.nvim!338
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/336-main-float-title"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
On
main, floating oil windows decide between native border titles and the fallback overlay title window by looking only atconfig.float.border. When users leave that setting atnilbut set Neovim's globalwinborder, oil opens a real bordered float and still creates the fallback overlay title window, so the title overlaps the directory listing.Solution
Route the title decision through the resolved runtime border from
nvim_win_get_config(winid). Floats that actually have a border now use the native window title, while truly borderless floats keep the fallback overlay title window.