summaryrefslogtreecommitdiff
path: root/src/ex_docmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-06-08 15:24:48 +0200
committerBram Moolenaar <Bram@vim.org>2013-06-08 15:24:48 +0200
commitcd9c46265e4a12cf716187bc8188c7399797f806 (patch)
tree0cc2bad99620cf39396dcb929d51225745588267 /src/ex_docmd.c
parent87f764a891ff717cd84f361afa5e2220820431e3 (diff)
downloadvim-git-cd9c46265e4a12cf716187bc8188c7399797f806.tar.gz
updated for version 7.3.1148v7.3.1148
Problem: No command line completion for ":syntime". Solution: Implement the completion. (Dominique Pelle)
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r--src/ex_docmd.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index 6b616ca8a..a8b0fb320 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -3994,6 +3994,12 @@ set_one_cmd_context(xp, buff)
xp->xp_pattern = arg;
break;
#endif
+#if defined(FEAT_PROFILE)
+ case CMD_syntime:
+ xp->xp_context = EXPAND_SYNTIME;
+ xp->xp_pattern = arg;
+ break;
+#endif
#endif /* FEAT_CMDL_COMPL */
@@ -5436,6 +5442,9 @@ static struct
{EXPAND_MAPPINGS, "mapping"},
{EXPAND_MENUS, "menu"},
{EXPAND_OWNSYNTAX, "syntax"},
+#if defined(FEAT_PROFILE)
+ {EXPAND_SYNTIME, "syntime"},
+#endif
{EXPAND_SETTINGS, "option"},
{EXPAND_SHELLCMD, "shellcmd"},
#if defined(FEAT_SIGNS)