From ba43e76fcd5b2da57dbaa4d9a555793fe8ac344e Mon Sep 17 00:00:00 2001 From: Martin Tournoij Date: Thu, 13 Oct 2022 22:12:15 +0100 Subject: patch 9.0.0747: too many #ifdefs Problem: Too many #ifdefs. Solution: Gradudate the +cmdline_info feature. (Martin Tournoij, closes #11330) --- src/feature.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/feature.h') diff --git a/src/feature.h b/src/feature.h index 275fbe397c..948539b1b3 100644 --- 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 ..". @@ -178,13 +179,6 @@ # define VIM_BACKTICK // internal backtick expansion #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 /* -- cgit v1.2.3