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/highlight.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/highlight.c')
-rw-r--r-- | src/highlight.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/highlight.c b/src/highlight.c index 0181327d9..db65ffca7 100644 --- a/src/highlight.c +++ b/src/highlight.c @@ -3499,8 +3499,6 @@ highlight_changed(void) return OK; } -#if defined(FEAT_CMDL_COMPL) || defined(PROTO) - static void highlight_list(void); static void highlight_list_two(int cnt, int attr); @@ -3577,10 +3575,6 @@ highlight_list_two(int cnt, int attr) ui_delay(cnt == 99 ? 40L : (long)cnt * 50L, FALSE); } -#endif // FEAT_CMDL_COMPL - -#if defined(FEAT_CMDL_COMPL) || (defined(FEAT_SYN_HL) && defined(FEAT_EVAL)) \ - || defined(FEAT_SIGNS) || defined(PROTO) /* * Function given to ExpandGeneric() to obtain the list of group names. */ @@ -3605,7 +3599,6 @@ get_highlight_name_ext(expand_T *xp UNUSED, int idx, int skip_cleared) if (skip_cleared && idx < highlight_ga.ga_len && HL_TABLE()[idx].sg_cleared) return (char_u *)""; -#ifdef FEAT_CMDL_COMPL if (idx == highlight_ga.ga_len && include_none != 0) return (char_u *)"none"; if (idx == highlight_ga.ga_len + include_none && include_default != 0) @@ -3616,12 +3609,10 @@ get_highlight_name_ext(expand_T *xp UNUSED, int idx, int skip_cleared) if (idx == highlight_ga.ga_len + include_none + include_default + 1 && include_link != 0) return (char_u *)"clear"; -#endif if (idx >= highlight_ga.ga_len) return NULL; return HL_TABLE()[idx].sg_name; } -#endif #if defined(FEAT_GUI) || defined(PROTO) /* |