mirror of
https://github.com/akinsho/toggleterm.nvim
synced 2024-09-16 21:34:03 +02:00
feat: support z-index option for floating windows (#418)
This commit is contained in:
parent
9a595ba699
commit
0aa936445b
3 changed files with 3 additions and 0 deletions
|
@ -207,6 +207,7 @@ require("toggleterm").setup{
|
|||
width = <value>,
|
||||
height = <value>,
|
||||
winblend = 3,
|
||||
zindex = <value>,
|
||||
},
|
||||
winbar = {
|
||||
enabled = false,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue