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:
parent
bf753c3e3f
commit
e27cc4e138
5 changed files with 28 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue