summaryrefslogtreecommitdiffstats
path: root/runtime/optwin.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-09 22:05:49 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-09 22:05:49 +0200
commit410e98a70bc00ea4bed51e55a8fe20e56a72c087 (patch)
treee0104f5f3a0f6974c686b3905e551fdcfc6a9f7f /runtime/optwin.vim
parente5fbd7393067c279860598ac8359d1617b1082b9 (diff)
patch 8.1.2019: 'cursorline' always highlights the whole linev8.1.2019
Problem: 'cursorline' always highlights the whole line. Solution: Add 'cursorlineopt' to specify what is highlighted. (closes #4693)
Diffstat (limited to 'runtime/optwin.vim')
-rw-r--r--runtime/optwin.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/optwin.vim b/runtime/optwin.vim
index 7d3a8804da..1eaf5efc97 100644
--- a/runtime/optwin.vim
+++ b/runtime/optwin.vim
@@ -429,6 +429,9 @@ if has("syntax")
call append("$", "cursorline\thighlight the screen line of the cursor")
call append("$", "\t(local to window)")
call <SID>BinOptionL("cul")
+ call append("$", "cursorlineopt\tspecifies which area 'cursorline' highlights")
+ call append("$", "\t(local to window)")
+ call <SID>OptionL("culopt")
call append("$", "colorcolumn\tcolumns to highlight")
call append("$", "\t(local to window)")
call <SID>OptionL("cc")