diff options
author | Evgeni Chasnovski <evgeni.chasnovski@gmail.com> | 2023-03-09 11:54:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-09 10:54:39 +0100 |
commit | e17581fa5342c7396385456faa37e78105994ed2 (patch) | |
tree | bfc8f6fb36c80ecf58eb7b861e0e2ae138f382d8 | |
parent | 3ad845882413944a8d6ed3bd9da68c6b4cee0afb (diff) | |
download | rneovim-e17581fa5342c7396385456faa37e78105994ed2.tar.gz rneovim-e17581fa5342c7396385456faa37e78105994ed2.tar.bz2 rneovim-e17581fa5342c7396385456faa37e78105994ed2.zip |
docs: add missing highlight groups for floats
-rw-r--r-- | runtime/doc/api.txt | 4 | ||||
-rw-r--r-- | runtime/doc/syntax.txt | 4 | ||||
-rw-r--r-- | runtime/doc/vim_diff.txt | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index 2930f2314b..0e1cf9ec3e 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -452,6 +452,10 @@ Buffer text can be highlighted by typical mechanisms (syntax highlighting, options from the current window; specify `style=minimal` in |nvim_open_win()| to disable various visual features such as the 'number' column. +Other highlight groups specific to floating windows: +- |hl-FloatBorder| for window's border +- |hl-FloatTitle| for window's title + Currently, floating windows don't support some widgets like scrollbar. The output of |:mksession| does not include commands for restoring floating diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 68d059be82..b22d673eb9 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -5268,6 +5268,10 @@ NonText '@' at the end of the window, characters from 'showbreak' Normal Normal text. *hl-NormalFloat* NormalFloat Normal text in floating windows. + *hl-FloatBorder* +FloatBorder Border of floating windows. + *hl-FloatTitle* +FloatTitle Title of floating windows. *hl-NormalNC* NormalNC Normal text in non-current windows. *hl-Pmenu* diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt index 5efe094226..2305f101e2 100644 --- a/runtime/doc/vim_diff.txt +++ b/runtime/doc/vim_diff.txt @@ -243,6 +243,8 @@ Highlight groups: |highlight-blend| controls blend level for a highlight group |expr-highlight| highlight groups (prefixed with "Nvim") |hl-NormalFloat| highlights floating window + |hl-FloatBorder| highlights border of a floating window + |hl-FloatTitle| highlights title of a floating window |hl-NormalNC| highlights non-current windows |hl-MsgArea| highlights messages/cmdline area |hl-MsgSeparator| highlights separator for scrolled messages |