diff options
author | Bram Moolenaar <Bram@vim.org> | 2011-07-20 16:37:24 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2011-07-20 16:37:24 +0200 |
commit | e9edd7fbdd1d815f6135e269dbc94bd0824cf33f (patch) | |
tree | e4ebf30be448f668e6220eec599a20bac6d8e14d /src/ex_docmd.c | |
parent | 76f7fd3df3d9eac04928427568feb1fbc3fb889d (diff) |
updated for version 7.3.257v7.3.257
Problem: Not all completions are available to user commands.
Solution: Add "color", "compiler", "file_in_path" and "locale". (Dominique
Pelle)
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 3e80b329b0..a6fa374bc2 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -5297,7 +5297,9 @@ static struct { {EXPAND_AUGROUP, "augroup"}, {EXPAND_BUFFERS, "buffer"}, + {EXPAND_COLORS, "color"}, {EXPAND_COMMANDS, "command"}, + {EXPAND_COMPILER, "compiler"}, #if defined(FEAT_CSCOPE) {EXPAND_CSCOPE, "cscope"}, #endif @@ -5310,10 +5312,15 @@ static struct {EXPAND_EVENTS, "event"}, {EXPAND_EXPRESSION, "expression"}, {EXPAND_FILES, "file"}, + {EXPAND_FILES_IN_PATH, "file_in_path"}, {EXPAND_FILETYPE, "filetype"}, {EXPAND_FUNCTIONS, "function"}, {EXPAND_HELP, "help"}, {EXPAND_HIGHLIGHT, "highlight"}, +#if (defined(HAVE_LOCALE_H) || defined(X_LOCALE)) \ + && (defined(FEAT_GETTEXT) || defined(FEAT_MBYTE)) + {EXPAND_LOCALES, "locale"}, +#endif {EXPAND_MAPPINGS, "mapping"}, {EXPAND_MENUS, "menu"}, {EXPAND_OWNSYNTAX, "syntax"}, |