Mercurial > vim
diff src/optiondefs.h @ 30825:c7983f593fa7 v9.0.0747
patch 9.0.0747: too many #ifdefs
Commit: https://github.com/vim/vim/commit/ba43e76fcd5b2da57dbaa4d9a555793fe8ac344e
Author: Martin Tournoij <martin@arp242.net>
Date: Thu Oct 13 22:12:15 2022 +0100
patch 9.0.0747: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Gradudate the +cmdline_info feature. (Martin Tournoij,
closes #11330)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 13 Oct 2022 23:15:05 +0200 |
parents | 101f08b49ed3 |
children | 40df8a6515f6 |
line wrap: on
line diff
--- a/src/optiondefs.h +++ b/src/optiondefs.h @@ -2060,11 +2060,7 @@ static struct vimoption options[] = #endif SCTX_INIT}, {"ruler", "ru", P_BOOL|P_VI_DEF|P_VIM|P_RSTAT, -#ifdef FEAT_CMDL_INFO (char_u *)&p_ru, PV_NONE, -#else - (char_u *)NULL, PV_NONE, -#endif {(char_u *)FALSE, (char_u *)0L} SCTX_INIT}, {"rulerformat", "ruf", P_STRING|P_VI_DEF|P_ALLOCED|P_RSTAT|P_MLE, #ifdef FEAT_STL_OPT @@ -2224,11 +2220,7 @@ static struct vimoption options[] = #endif {(char_u *)"", (char_u *)0L} SCTX_INIT}, {"showcmd", "sc", P_BOOL|P_VIM, -#ifdef FEAT_CMDL_INFO (char_u *)&p_sc, PV_NONE, -#else - (char_u *)NULL, PV_NONE, -#endif {(char_u *)FALSE, #ifdef UNIX (char_u *)FALSE