From 410e98a70bc00ea4bed51e55a8fe20e56a72c087 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Mon, 9 Sep 2019 22:05:49 +0200 Subject: 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) --- runtime/optwin.vim | 3 +++ 1 file changed, 3 insertions(+) (limited to 'runtime/optwin.vim') diff --git a/runtime/optwin.vim b/runtime/optwin.vim index 7d3a8804d..1eaf5efc9 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 BinOptionL("cul") + call append("$", "cursorlineopt\tspecifies which area 'cursorline' highlights") + call append("$", "\t(local to window)") + call OptionL("culopt") call append("$", "colorcolumn\tcolumns to highlight") call append("$", "\t(local to window)") call OptionL("cc") -- cgit v1.2.1