aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-05-08 16:17:57 +0200
committerJustin M. Keyes <justinkz@gmail.com>2017-05-08 16:17:57 +0200
commitb23aa1cf099ed43307c14fe47ddda87ef78f6173 (patch)
tree0cc1f9add66d1ee62f21800df0403a043a36d7ad /runtime
parent4c3d7b29ec7b46fcd1defbe84c03e3e3b2a9e9f5 (diff)
parent188bae586f5cbdeebe9b229371e78a3bf17bdb8a (diff)
downloadrneovim-b23aa1cf099ed43307c14fe47ddda87ef78f6173.tar.gz
rneovim-b23aa1cf099ed43307c14fe47ddda87ef78f6173.tar.bz2
rneovim-b23aa1cf099ed43307c14fe47ddda87ef78f6173.zip
Merge #6597 'winhighlight'
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt14
-rw-r--r--runtime/doc/syntax.txt2
2 files changed, 15 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index e72241518c..afc7c20ed5 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 non-current ("inactive") 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
@@ -6843,6 +6844,17 @@ 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
+ Window-local highlights. Comma-delimited list of |group-name| pairs
+ "{hl-builtin}:{hl-group},..." where each {hl-builtin} is a group (from
+ |highlight-groups|) to be overridden by {hl-group} in the window where
+ this option was set.
+ Currently |hl-Normal| and |hl-NormalNC| can be overridden.
+ Useful for changing the background color. Example: >
+ set winhighlight=Normal:MyNormal,NormalNC:MyNormalNC
+<
*'winfixheight'* *'wfh'* *'nowinfixheight'* *'nowfh'*
'winfixheight' 'wfh' boolean (default off)
local to window
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*