diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-18 22:26:31 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-18 22:26:31 +0200 |
commit | 0a52df50a0e8fce6f5e0eb5f5373dcd0fa24d83a (patch) | |
tree | 9860863c20df3f5354bf67a1d7efe054e23e8a99 /src/ex_cmds2.c | |
parent | 66b51420e0c8d49bcf6786b792c938d6099e3393 (diff) | |
download | vim-git-0a52df50a0e8fce6f5e0eb5f5373dcd0fa24d83a.tar.gz |
patch 8.1.1887: the +cmdline_compl feature is not in the tiny versionv8.1.1887
Problem: The +cmdline_compl feature is not in the tiny version.
Solution: Graduate the +cmdline_compl feature.
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r-- | src/ex_cmds2.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c index c0bf0e971..71b9d0652 100644 --- a/src/ex_cmds2.c +++ b/src/ex_cmds2.c @@ -3242,15 +3242,15 @@ ex_language(exarg_T *eap) } } -# if defined(FEAT_CMDL_COMPL) || defined(PROTO) - static char_u **locales = NULL; /* Array of all available locales */ -# ifndef MSWIN +# ifndef MSWIN static int did_init_locales = FALSE; -/* Return an array of strings for all available locales + NULL for the - * last element. Return NULL in case of error. */ +/* + * Return an array of strings for all available locales + NULL for the + * last element. Return NULL in case of error. + */ static char_u ** find_locales(void) { @@ -3289,7 +3289,7 @@ find_locales(void) ((char_u **)locales_ga.ga_data)[locales_ga.ga_len] = NULL; return (char_u **)locales_ga.ga_data; } -# endif +# endif /* * Lazy initialization of all available locales. @@ -3351,6 +3351,5 @@ get_locales(expand_T *xp UNUSED, int idx) return NULL; return locales[idx]; } -# endif #endif |