diff options
Diffstat (limited to 'src/optiondefs.h')
-rw-r--r-- | src/optiondefs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/optiondefs.h b/src/optiondefs.h index 8ec012f0d6..de04abed60 100644 --- a/src/optiondefs.h +++ b/src/optiondefs.h @@ -194,6 +194,7 @@ #endif #define PV_SCBIND OPT_WIN(WV_SCBIND) #define PV_SCROLL OPT_WIN(WV_SCROLL) +#define PV_SMS OPT_WIN(WV_SMS) #define PV_SISO OPT_BOTH(OPT_WIN(WV_SISO)) #define PV_SO OPT_BOTH(OPT_WIN(WV_SO)) #ifdef FEAT_SPELL @@ -2282,6 +2283,9 @@ static struct vimoption options[] = {"smarttab", "sta", P_BOOL|P_VI_DEF|P_VIM, (char_u *)&p_sta, PV_NONE, {(char_u *)FALSE, (char_u *)0L} SCTX_INIT}, + {"smoothscroll", "sms", P_BOOL|P_VI_DEF|P_RWIN, + (char_u *)VAR_WIN, PV_SMS, + {(char_u *)FALSE, (char_u *)0L} SCTX_INIT}, {"softtabstop", "sts", P_NUM|P_VI_DEF|P_VIM, (char_u *)&p_sts, PV_STS, {(char_u *)0L, (char_u *)0L} SCTX_INIT}, |