summaryrefslogtreecommitdiffstats
path: root/src/optiondefs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-09-14 21:01:23 +0200
committerBram Moolenaar <Bram@vim.org>2019-09-14 21:01:23 +0200
commit017ba07fa2cdc578245618717229444fd50c470d (patch)
treed848d329da08cbda1e846d6e7acf1a440f61d667 /src/optiondefs.h
parentd9b0d83b13d2691e4544709abd87eac004715175 (diff)
patch 8.1.2029: cannot control 'cursorline' highlighting wellv8.1.2029
Problem: Cannot control 'cursorline' highlighting well. Solution: Add "screenline". (Christian Brabandt, closes #4933)
Diffstat (limited to 'src/optiondefs.h')
-rw-r--r--src/optiondefs.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/optiondefs.h b/src/optiondefs.h
index 3897fd7bf7..8e9d3f9324 100644
--- a/src/optiondefs.h
+++ b/src/optiondefs.h
@@ -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