fix: change default border config to nil (#643)

Neovim 0.11 introduced the winborder option, which serves the same purpose. By defaulting the border to nil, we will use whatever value the user has configured with winborder.

---------

Co-authored-by: Steven Arcangeli <506791+stevearc@users.noreply.github.com>
This commit is contained in:
Sebastian Lyng Johansen 2025-10-15 07:30:41 +02:00 committed by GitHub
parent 919e155fdf
commit 200df01e4b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 26 additions and 15 deletions

View file

@ -144,7 +144,7 @@ CONFIG *oil-confi
-- max_width and max_height can be integers or a float between 0 and 1 (e.g. 0.4 for 40%)
max_width = 0,
max_height = 0,
border = "rounded",
border = nil,
win_options = {
winblend = 0,
},
@ -189,7 +189,7 @@ CONFIG *oil-confi
min_height = { 5, 0.1 },
-- optionally define an integer/float for the exact height of the preview window
height = nil,
border = "rounded",
border = nil,
win_options = {
winblend = 0,
},
@ -202,7 +202,7 @@ CONFIG *oil-confi
max_height = { 10, 0.9 },
min_height = { 5, 0.1 },
height = nil,
border = "rounded",
border = nil,
minimized_border = "none",
win_options = {
winblend = 0,
@ -210,11 +210,11 @@ CONFIG *oil-confi
},
-- Configuration for the floating SSH window
ssh = {
border = "rounded",
border = nil,
},
-- Configuration for the floating keymaps help window
keymaps_help = {
border = "rounded",
border = nil,
},
})
<