diff options
author | zeertzjq <zeertzjq@outlook.com> | 2021-08-27 20:50:37 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-27 05:50:37 -0700 |
commit | 32024787b6b1ef39c23bda1653c23b5dfbde9e81 (patch) | |
tree | ca42840d15eac7d352d7f8c101da1b866168b554 /runtime | |
parent | 08e223cebb8916f01270b5a332e6202df58609a9 (diff) | |
download | rneovim-32024787b6b1ef39c23bda1653c23b5dfbde9e81.tar.gz rneovim-32024787b6b1ef39c23bda1653c23b5dfbde9e81.tar.bz2 rneovim-32024787b6b1ef39c23bda1653c23b5dfbde9e81.zip |
vim-patch:8.1.2229: color number column above/below cursor #15409
Problem: Cannot color number column above/below cursor differently.
Solution: Add LineNrAbove and LineNrBelow. (Shaun Brady, closes vim/vim#624)
https://github.com/vim/vim/commit/efae76ab1a43d5a628d8c2fa4218ace6ba597f5d
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/syntax.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/runtime/doc/syntax.txt b/runtime/doc/syntax.txt index 0cd3aed7a2..161b4f0d04 100644 --- a/runtime/doc/syntax.txt +++ b/runtime/doc/syntax.txt @@ -5064,10 +5064,15 @@ Substitute |:substitute| replacement text highlighting *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 - the cursor line. +CursorLineNr Like LineNr when 'cursorline' is set and 'cursorlineopt' + contains "number" or is "both", for the cursor line. *hl-MatchParen* MatchParen The character under the cursor or just before it, if it is a paired bracket, and its match. |pi_paren.txt| |