aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2021-07-30 10:49:42 +0800
committerzeertzjq <zeertzjq@outlook.com>2021-08-02 05:41:17 +0800
commit1666fe9dfe08201c92271b7a59fb2f96a20eb8db (patch)
tree4d1f9d0e574a13bf9e7c15a9ab2c30969713da2b /runtime
parent337b1b31ac12ee4351668e32fe116282efd3dcc3 (diff)
downloadrneovim-1666fe9dfe08201c92271b7a59fb2f96a20eb8db.tar.gz
rneovim-1666fe9dfe08201c92271b7a59fb2f96a20eb8db.tar.bz2
rneovim-1666fe9dfe08201c92271b7a59fb2f96a20eb8db.zip
vim-patch:8.1.2029: cannot control 'cursorline' highlighting well
Problem: Cannot control 'cursorline' highlighting well. Solution: Add "screenline". (Christian Brabandt, closes vim/vim#4933) https://github.com/vim/vim/commit/017ba07fa2cdc578245618717229444fd50c470d
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/options.txt17
1 files changed, 12 insertions, 5 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt
index 5292847240..f55ec62b77 100644
--- a/runtime/doc/options.txt
+++ b/runtime/doc/options.txt
@@ -1809,14 +1809,21 @@ A jump table for the options with a short description can be found at |Q_op|.
*'cursorlineopt'* *'culopt'*
-'cursorlineopt' 'culopt' string (default: "both")
+'cursorlineopt' 'culopt' string (default: "number,line")
local to window
- Settings for how 'cursorline' is displayed. Valid values:
- "line" Highlight the text line of the cursor with
+ Comma separated list of settings for how 'cursorline' is displayed.
+ Valid values:
+ "line" Highlight the text line of the cursor with
CursorLine |hl-CursorLine|.
- "number" Highlight the line number of the cursor with
+ "screenline" Highlight only the screen line of the cursor with
+ CursorLine |hl-CursorLine|.
+ "number" Highlight the line number of the cursor with
CursorLineNr |hl-CursorLineNr|.
- "both" Highlight as both "line" and "number" are set.
+
+ Special value:
+ "both" Alias for the values "line,number".
+
+ "line" and "screenline" cannot be used together.
*'debug'*