aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/doc/syntax.txt5
-rw-r--r--runtime/doc/vim_diff.txt11
2 files changed, 11 insertions, 5 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt
index f813717eeb..a027f66a3f 100644
--- a/runtime/doc/syntax.txt
+++ b/runtime/doc/syntax.txt
@@ -5025,11 +5025,6 @@ StatusLine status line of current window
StatusLineNC status lines of not-current windows
Note: if this is equal to "StatusLine" Vim will use "^^^" in
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*
TabLine tab pages line, not active tab page label
*hl-TabLineFill*
diff --git a/runtime/doc/vim_diff.txt b/runtime/doc/vim_diff.txt
index 3c1654fd2b..7381ae4e2b 100644
--- a/runtime/doc/vim_diff.txt
+++ b/runtime/doc/vim_diff.txt
@@ -437,6 +437,17 @@ Compile-time features:
Emacs tags support
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:
'antialias'
'bioskey' (MS-DOS)