feat: add border config for SSH and keymaps help window (#299)

* feat: add config for ssh window border

* chore: add documentation for ssh window border

* feat: add config for keymaps help window border

* chore: add documentatoin for keymaps help window border
This commit is contained in:
Reinder van Bochove 2024-02-20 05:00:49 +01:00 committed by GitHub
parent bf753c3e3f
commit e27cc4e138
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 28 additions and 2 deletions

View file

@ -1,4 +1,5 @@
local actions = require("oil.actions")
local config = require("oil.config")
local layout = require("oil.layout")
local util = require("oil.util")
local M = {}
@ -111,7 +112,7 @@ M.show_help = function(keymaps)
height = math.min(editor_height, #lines),
zindex = 150,
style = "minimal",
border = "rounded",
border = config.keymaps_help.border,
})
local function close()
if vim.api.nvim_win_is_valid(winid) then