1
0
forked from aniani/vim

patch 8.1.2029: cannot control 'cursorline' highlighting well

Problem:    Cannot control 'cursorline' highlighting well.
Solution:   Add "screenline". (Christian Brabandt, closes #4933)
This commit is contained in:
Bram Moolenaar
2019-09-14 21:01:23 +02:00
parent d9b0d83b13
commit 017ba07fa2
33 changed files with 740 additions and 66 deletions

View File

@@ -958,7 +958,7 @@ static struct vimoption options[] =
(char_u *)NULL, PV_NONE,
#endif
{(char_u *)FALSE, (char_u *)0L} SCTX_INIT},
{"cursorlineopt", "culopt", P_STRING|P_VI_DEF|P_RWIN,
{"cursorlineopt", "culopt", P_STRING|P_VI_DEF|P_RWIN|P_ONECOMMA|P_NODUP,
#ifdef FEAT_SYN_HL
(char_u *)VAR_WIN, PV_CULOPT,
#else
@@ -3200,6 +3200,3 @@ static char *(p_scl_values[]) = {"yes", "no", "auto", "number", NULL};
#if defined(MSWIN) && defined(FEAT_TERMINAL)
static char *(p_twt_values[]) = {"winpty", "conpty", "", NULL};
#endif
#ifdef FEAT_SYN_HL
static char *(p_culopt_values[]) = {"line", "number", "both", NULL};
#endif