Merge pull request #28617 from glepnir/border_hl

fix(float): missing default highlight for title
This commit is contained in:
bfredl
2024-05-25 11:13:58 +02:00
committed by GitHub
5 changed files with 27 additions and 22 deletions

View File

@@ -1761,13 +1761,15 @@ function vim.api.nvim_open_term(buffer, opts) end
---
--- • title: Title (optional) in window border, string or list.
--- List should consist of `[text, highlight]` tuples. If
--- string, the default highlight group is `FloatTitle`.
--- string, or a tuple lacks a highlight, the default
--- highlight group is `FloatTitle`.
--- • title_pos: Title position. Must be set with `title`
--- option. Value can be one of "left", "center", or "right".
--- Default is `"left"`.
--- • footer: Footer (optional) in window border, string or
--- list. List should consist of `[text, highlight]` tuples.
--- If string, the default highlight group is `FloatFooter`.
--- If string, or a tuple lacks a highlight, the default
--- highlight group is `FloatFooter`.
--- • footer_pos: Footer position. Must be set with `footer`
--- option. Value can be one of "left", "center", or "right".
--- Default is `"left"`.