comparison runtime/doc/options.txt @ 18068:1101eacc1444 v8.1.2029

patch 8.1.2029: cannot control 'cursorline' highlighting well Commit: https://github.com/vim/vim/commit/017ba07fa2cdc578245618717229444fd50c470d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 14 21:01:23 2019 +0200 patch 8.1.2029: cannot control 'cursorline' highlighting well Problem: Cannot control 'cursorline' highlighting well. Solution: Add "screenline". (Christian Brabandt, closes https://github.com/vim/vim/issues/4933)
author Bram Moolenaar <Bram@vim.org>
date Sat, 14 Sep 2019 21:15:04 +0200
parents 8ac85adee561
children 5ae41d0ea397
comparison
equal deleted inserted replaced
18067:9e20b59dd8ab 18068:1101eacc1444
2466 When Visual mode is active the highlighting isn't used to make it 2466 When Visual mode is active the highlighting isn't used to make it
2467 easier to see the selected text. 2467 easier to see the selected text.
2468 2468
2469 2469
2470 *'cursorlineopt'* *'culopt'* 2470 *'cursorlineopt'* *'culopt'*
2471 'cursorlineopt' 'culopt' string (default: "both") 2471 'cursorlineopt' 'culopt' string (default: "number,line")
2472 local to window 2472 local to window
2473 {not in Vi} 2473 {not in Vi}
2474 {not available when compiled without the |+syntax| 2474 {not available when compiled without the |+syntax|
2475 feature} 2475 feature}
2476 Settings for how 'cursorline' is displayed. Valid values: 2476 Comma separated list of settings for how 'cursorline' is displayed.
2477 "line" Highlight the text line of the cursor with 2477 Valid values:
2478 "line" Highlight the text line of the cursor with
2478 CursorLine |hl-CursorLine|. 2479 CursorLine |hl-CursorLine|.
2479 "number" Highlight the line number of the cursor with 2480 "screenline" Highlight only the screen line of the cursor with
2481 CursorLine |hl-CursorLine|.
2482 "number" Highlight the line number of the cursor with
2480 CursorLineNr |hl-CursorLineNr|. 2483 CursorLineNr |hl-CursorLineNr|.
2481 "both" Highlight as both "line" and "number" are set. 2484
2485 Special value:
2486 "both" Alias for the values "line,number".
2487
2488 "line" and "screenline" cannot be used together.
2482 2489
2483 2490
2484 *'debug'* 2491 *'debug'*
2485 'debug' string (default "") 2492 'debug' string (default "")
2486 global 2493 global