Mercurial > vim
comparison runtime/doc/options.txt @ 18047:6650e3dff8d4 v8.1.2019
patch 8.1.2019: 'cursorline' always highlights the whole line
Commit: https://github.com/vim/vim/commit/410e98a70bc00ea4bed51e55a8fe20e56a72c087
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 9 22:05:49 2019 +0200
patch 8.1.2019: 'cursorline' always highlights the whole line
Problem: 'cursorline' always highlights the whole line.
Solution: Add 'cursorlineopt' to specify what is highlighted.
(closes #4693)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 09 Sep 2019 22:15:04 +0200 |
parents | cc953757ed2a |
children | 8ac85adee561 |
comparison
equal
deleted
inserted
replaced
18046:4b4c49dee5e6 | 18047:6650e3dff8d4 |
---|---|
2459 *'cursorline'* *'cul'* *'nocursorline'* *'nocul'* | 2459 *'cursorline'* *'cul'* *'nocursorline'* *'nocul'* |
2460 'cursorline' 'cul' boolean (default off) | 2460 'cursorline' 'cul' boolean (default off) |
2461 local to window | 2461 local to window |
2462 {not available when compiled without the |+syntax| | 2462 {not available when compiled without the |+syntax| |
2463 feature} | 2463 feature} |
2464 Highlight the screen line of the cursor with CursorLine | 2464 Highlight the text line of the cursor with CursorLine |hl-CursorLine|. |
2465 |hl-CursorLine|. Useful to easily spot the cursor. Will make screen | 2465 Useful to easily spot the cursor. Will make screen redrawing slower. |
2466 redrawing slower. | |
2467 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 |
2468 easier to see the selected text. | 2467 easier to see the selected text. |
2468 | |
2469 | |
2470 *'cursorlineopt'* *'culopt'* | |
2471 'cursorlineopt' 'culopt' string (default: "both") | |
2472 local to window | |
2473 {not in Vi} | |
2474 {not available when compiled without the |+syntax| | |
2475 feature} | |
2476 Settings for how 'cursorline' is displayed. Valid values: | |
2477 "line" Highlight the text line of the cursor with | |
2478 CursorLine |hl-CursorLine|. | |
2479 "number" Highlight the line number of the cursor with | |
2480 CursorLineNr |hl-CursorLineNr|. | |
2481 "both" Highlight as both "line" and "number" are set. | |
2469 | 2482 |
2470 | 2483 |
2471 *'debug'* | 2484 *'debug'* |
2472 'debug' string (default "") | 2485 'debug' string (default "") |
2473 global | 2486 global |