feat: support z-index option for floating windows (#418)

This commit is contained in:
Maddison Hellstrom 2023-03-25 01:31:52 -07:00 committed by GitHub
parent 9a595ba699
commit 0aa936445b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 0 deletions

View file

@ -207,6 +207,7 @@ require("toggleterm").setup{
width = <value>,
height = <value>,
winblend = 3,
zindex = <value>,
},
winbar = {
enabled = false,

View file

@ -197,6 +197,7 @@ show what options are available. It is not written to be used as is.
width = <value>,
height = <value>,
winblend = 3,
zindex = <value>,
},
winbar = {
enabled = false,

View file

@ -294,6 +294,7 @@ function M._get_float_config(term, opening)
width = width,
height = height,
border = opening and border or nil,
zindex = opts.zindex or nil,
}
end