diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-10-27 22:54:58 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-10-27 22:54:58 +0100 |
commit | efae76ab1a43d5a628d8c2fa4218ace6ba597f5d (patch) | |
tree | b7ef1d63325f64c076647f00ceee34ef74388172 /runtime/doc | |
parent | 38ba4dce4a8574e60f6ddb111922880b0c7affdc (diff) | |
download | vim-git-efae76ab1a43d5a628d8c2fa4218ace6ba597f5d.tar.gz |
patch 8.1.2229: cannot color number column above/below cursor differentlyv8.1.2229
Problem: Cannot color number column above/below cursor differently.
Solution: Add LineNrAbove and LineNrBelow. (Shaun Brady, closes #624)
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/options.txt | 5 | ||||
-rw-r--r-- | runtime/doc/syntax.txt | 6 |
2 files changed, 11 insertions, 0 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 82cac9df1..1ef944d62 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -3923,6 +3923,7 @@ A jump table for the options with a short description can be found at |Q_op|. "8:SpecialKey,~:EndOfBuffer,@:NonText, d:Directory,e:ErrorMsg,i:IncSearch, l:Search,m:MoreMsg,M:ModeMsg,n:LineNr, + a:LineNrAbove,b:LineNrBelow, N:CursorLineNr,r:Question,s:StatusLine, S:StatusLineNC,c:VertSplit,t:Title, v:Visual,V:VisualNOS,w:WarningMsg, @@ -3954,6 +3955,10 @@ A jump table for the options with a short description can be found at |Q_op|. |hl-ModeMsg| M Mode (e.g., "-- INSERT --") |hl-LineNr| n line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set. + |hl-LineNrAbove| a line number above the cursor for when the + 'relativenumber' option is set. + |hl-LineNrBelow| b line number below the cursor for when the + 'relativenumber' option is set. |hl-CursorLineNr| N like n for when 'cursorline' or 'relativenumber' is set. |hl-Question| r |hit-enter| prompt and yes/no questions diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index e45ff8195..1c4988ade 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -5071,6 +5071,12 @@ IncSearch 'incsearch' highlighting; also used for the text replaced with *hl-LineNr* LineNr Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set. + *hl-LineNrAbove* +LineNrAbove Line number for when the 'relativenumber' + option is set, above the cursor line. + *hl-LineNrBelow* +LineNrBelow Line number for when the 'relativenumber' + option is set, below the cursor line. *hl-CursorLineNr* CursorLineNr Like LineNr when 'cursorline' is set and 'cursorlineopt' is set to "number" or "both", or 'relativenumber' is set, for |