Mercurial > vim
diff src/feature.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 | c11da68d1a32 |
children | 5aa54cbc6e20 |
line wrap: on
line diff
--- a/src/feature.h +++ b/src/feature.h @@ -126,6 +126,7 @@ * +builtin_terms all builtin termcap entries included * +float Floating point variables. * +cmdwin Command line window. + * +cmdline_info 'showcmd' and 'ruler' options. * * Obsolete: * +tag_old_static Old style static tags: "file:tag file ..". @@ -179,13 +180,6 @@ #endif /* - * +cmdline_info 'showcmd' and 'ruler' options. - */ -#ifdef FEAT_NORMAL -# define FEAT_CMDL_INFO -#endif - -/* * +linebreak 'showbreak', 'breakat' and 'linebreak' options. * Also 'numberwidth'. */ @@ -324,9 +318,6 @@ */ #ifdef FEAT_NORMAL # define FEAT_STL_OPT -# ifndef FEAT_CMDL_INFO -# define FEAT_CMDL_INFO // 'ruler' is required for 'statusline' -# endif #endif /*