From bfcaf364042b0bcc0f995faa560ea488d068d276 Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Wed, 26 Apr 2017 18:17:29 +0200 Subject: options: allow different highlights in windows --- runtime/doc/options.txt | 3 ++- runtime/doc/syntax.txt | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'runtime/doc') diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index e72241518c..cddd043929 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -3128,7 +3128,8 @@ A jump table for the options with a short description can be found at |Q_op|. use for that occasion. The occasions are: |hl-SpecialKey| 8 Meta and special keys listed with ":map" |hl-Whitespace| 0 - |hl-EndOfBuffer| ~ lines after the last line in the buffer + |hl-EndOfBuffer| ~ lines after the last line in the buffer + |hl-NormalNC| I inactive (not the current) window |hl-TermCursor| z Cursor in a focused terminal |hl-TermCursorNC| Z Cursor in an unfocused terminal |hl-NonText| @ '@' at the end of the window and diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index a45fa3096a..18920d81e3 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -4922,6 +4922,8 @@ NonText '@' at the end of the window, characters from 'showbreak' fit at the end of the line). See also |hl-EndOfBuffer|. *hl-Normal* Normal normal text + *hl-NormalNC* +NormalNC normal text in non-current window *hl-Pmenu* Pmenu Popup menu: normal item. *hl-PmenuSel* -- cgit From 188bae586f5cbdeebe9b229371e78a3bf17bdb8a Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Sat, 29 Apr 2017 16:26:34 +0200 Subject: docs: 'winhighlight' --- runtime/doc/options.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'runtime/doc') diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index cddd043929..34c86c3fb0 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -6844,6 +6844,16 @@ A jump table for the options with a short description can be found at |Q_op|. 'winheight' applies to the current window. Use 'winminheight' to set the minimal height for other windows. + *'winhighlight'* *'winhl'* +'winhighlight' 'winhl' string (default empty) + local to window + Highlight groups specific to a window. It consists of items that must + be separated by a comma, each item is a global builtin highlight group + and a highlight group overidding it for this window, separated by a + colon. Currently only |hl-Normal| and |hl-NormalNC| can be overriden; + this is mostly useful for changing the background color. Example: > + set winhighlight=Normal:MyBackground,NormalNC:MyBackgroundNC +< *'winfixheight'* *'wfh'* *'nowinfixheight'* *'nowfh'* 'winfixheight' 'wfh' boolean (default off) local to window -- cgit