vim-patch:8.1.2019: 'cursorline' always highlights the whole line (#15161)

Problem:    'cursorline' always highlights the whole line.
Solution:   Add 'cursorlineopt' to specify what is highlighted.
            (closes vim/vim#4693)
410e98a70b
This commit is contained in:
zeertzjq
2021-07-31 09:51:26 +08:00
committed by GitHub
parent 15698eb5a1
commit 5f01714b25
11 changed files with 160 additions and 9 deletions

View File

@@ -226,6 +226,8 @@ typedef struct {
# define w_p_cuc w_onebuf_opt.wo_cuc // 'cursorcolumn'
int wo_cul;
# define w_p_cul w_onebuf_opt.wo_cul // 'cursorline'
char_u *wo_culopt;
# define w_p_culopt w_onebuf_opt.wo_culopt // 'cursorlineopt'
char_u *wo_cc;
# define w_p_cc w_onebuf_opt.wo_cc // 'colorcolumn'
char_u *wo_stl;