diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2015-02-05 13:56:16 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2015-02-05 13:56:16 +0000 |
| commit | 5339f94eb8efee790831f6cbbba4beb2956b8bd8 (patch) | |
| tree | 38fb7aabaf20955a9fefc638f74296de63880c00 /src | |
| parent | d59b36b8162d38b67ee40e729ad4e4ad6124fd7f (diff) | |
Fix missing modes in :map completion and docstring
Diffstat (limited to 'src')
| -rw-r--r-- | src/commands.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/commands.cc b/src/commands.cc index 23cf03e8..bb6fc55f 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -997,6 +997,8 @@ const CommandDesc map_key_cmd = { " insert\n" " menu\n" " prompt\n" + " goto\n" + " view\n" " user\n", ParameterDesc{ SwitchMap{}, ParameterDesc::Flags::None, 4, 4 }, CommandFlags::None, @@ -1009,7 +1011,7 @@ const CommandDesc map_key_cmd = { complete(params[0], pos_in_token, scopes) }; if (token_to_complete == 1) { - constexpr const char* modes[] = { "normal", "insert", "menu", "prompt", "goto", "view" }; + constexpr const char* modes[] = { "normal", "insert", "menu", "prompt", "goto", "view", "user" }; return { 0_byte, params[1].length(), complete(params[1], pos_in_token, modes) }; } |
