aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2019-09-08 00:21:54 -0700
committerJustin M. Keyes <justinkz@gmail.com>2019-09-09 10:52:12 -0700
commita3849abc31d1857c9b54c7425b6bc0a4b1a99ec1 (patch)
tree492b3715be054428e71b8cee9d3b9b26d04d0097
parent456f1d4bddd1e51b9d05cebb6666dfdc7e376635 (diff)
downloadrneovim-a3849abc31d1857c9b54c7425b6bc0a4b1a99ec1.tar.gz
rneovim-a3849abc31d1857c9b54c7425b6bc0a4b1a99ec1.tar.bz2
rneovim-a3849abc31d1857c9b54c7425b6bc0a4b1a99ec1.zip
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
-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)