diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-14 21:01:23 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-14 21:01:23 +0200 |
commit | 017ba07fa2cdc578245618717229444fd50c470d (patch) | |
tree | d848d329da08cbda1e846d6e7acf1a440f61d667 /runtime | |
parent | d9b0d83b13d2691e4544709abd87eac004715175 (diff) | |
download | vim-git-017ba07fa2cdc578245618717229444fd50c470d.tar.gz |
patch 8.1.2029: cannot control 'cursorline' highlighting wellv8.1.2029
Problem: Cannot control 'cursorline' highlighting well.
Solution: Add "screenline". (Christian Brabandt, closes #4933)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/options.txt | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 0c8589f74..9fa2bfb3a 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -2468,17 +2468,24 @@ 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 {not in Vi} {not available when compiled without the |+syntax| feature} - 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'* |