diff options
Diffstat (limited to 'src/option.c')
-rw-r--r-- | src/option.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/option.c b/src/option.c index f89c4730bb..19e2b4c545 100644 --- a/src/option.c +++ b/src/option.c @@ -8306,6 +8306,11 @@ set_bool_option( p_lrm = !p_lnr; #endif +#ifdef FEAT_SYN_HL + else if ((int *)varp == &curwin->w_p_cul && !value && old_value) + reset_cursorline(); +#endif + #ifdef FEAT_PERSISTENT_UNDO /* 'undofile' */ else if ((int *)varp == &curbuf->b_p_udf || (int *)varp == &p_udf) |