mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
doc: StatusLineTerm, StatusLineTermNC
N/A: vim-patch:8.0.0941: existing color schemes don't like StatusLineTerm vim-patch:8.0.0937: user highlight groups not adjusted for terminal vim-patch:8.0.0825: not easy to see that a window is a terminal window
This commit is contained in:
parent
456f1d4bdd
commit
a3849abc31
@ -5025,11 +5025,6 @@ StatusLine status line of current window
|
|||||||
StatusLineNC status lines of not-current windows
|
StatusLineNC status lines of not-current windows
|
||||||
Note: if this is equal to "StatusLine" Vim will use "^^^" in
|
Note: if this is equal to "StatusLine" Vim will use "^^^" in
|
||||||
the status line of the current window.
|
the status line of the current window.
|
||||||
*hl-StatusLineTerm*
|
|
||||||
StatusLineTerm status line of current window, if it is a |terminal| window.
|
|
||||||
*hl-StatusLineTermNC*
|
|
||||||
StatusLineTermNC status lines of not-current windows that is a |terminal|
|
|
||||||
window.
|
|
||||||
*hl-TabLine*
|
*hl-TabLine*
|
||||||
TabLine tab pages line, not active tab page label
|
TabLine tab pages line, not active tab page label
|
||||||
*hl-TabLineFill*
|
*hl-TabLineFill*
|
||||||
|
@ -437,6 +437,17 @@ Compile-time features:
|
|||||||
Emacs tags support
|
Emacs tags support
|
||||||
X11 integration (see |x11-selection|)
|
X11 integration (see |x11-selection|)
|
||||||
|
|
||||||
|
Highlight groups:
|
||||||
|
*hl-StatusLineTerm* *hl-StatusLineTermNC* are unnecessary because Nvim
|
||||||
|
supports 'winhighlight' window-local highlights.
|
||||||
|
For example, to mimic Vim's StatusLineTerm: >
|
||||||
|
hi StatusLineTerm ctermfg=black ctermbg=green
|
||||||
|
hi StatusLineTermNC ctermfg=green
|
||||||
|
autocmd TermOpen,WinEnter * if &buftype=='terminal'
|
||||||
|
\|setlocal winhighlight=StatusLine:StatusLineTerm,StatusLineNC:StatusLineTermNC
|
||||||
|
\|else|setlocal winhighlight=|endif
|
||||||
|
<
|
||||||
|
|
||||||
Options:
|
Options:
|
||||||
'antialias'
|
'antialias'
|
||||||
'bioskey' (MS-DOS)
|
'bioskey' (MS-DOS)
|
||||||
|
Loading…
Reference in New Issue
Block a user