summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2010-07-31 14:59:19 +0200
committerBram Moolenaar <Bram@vim.org>2010-07-31 14:59:19 +0200
commita26559b553079c3959ee142a010b2e000c180323 (patch)
treeefa74d7172474004e81037173beedd6f1a983910 /src
parent460fbaca72c042c53abe7bb13e916b8b3484caba (diff)
downloadvim-a26559b553079c3959ee142a010b2e000c180323.zip
Support syntax and filetype completion for user commands. (Christian Brabandt)
Diffstat (limited to 'src')
-rw-r--r--src/ex_docmd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c
index c4732f704..0d91a0b62 100644
--- a/src/ex_docmd.c
+++ b/src/ex_docmd.c
@@ -5277,11 +5277,13 @@ static struct
{EXPAND_EVENTS, "event"},
{EXPAND_EXPRESSION, "expression"},
{EXPAND_FILES, "file"},
+ {EXPAND_FILETYPE, "filetype"},
{EXPAND_FUNCTIONS, "function"},
{EXPAND_HELP, "help"},
{EXPAND_HIGHLIGHT, "highlight"},
{EXPAND_MAPPINGS, "mapping"},
{EXPAND_MENUS, "menu"},
+ {EXPAND_OWNSYNTAX, "syntax"},
{EXPAND_SETTINGS, "option"},
{EXPAND_SHELLCMD, "shellcmd"},
#if defined(FEAT_SIGNS)