1
0
forked from aniani/vim

updated for version 7.4.542

Problem:    Using a range for window and buffer commands has a few problems.
            Cannot specify the type of range for a user command.
Solution:   Add the -addr argument for user commands.  Fix problems. (Marcin
            Szamotulski)
This commit is contained in:
Bram Moolenaar
2014-12-08 04:16:44 +01:00
parent b2a851fee4
commit f1d6ccf2f9
16 changed files with 291 additions and 29 deletions

View File

@@ -4697,6 +4697,7 @@ ExpandFromContext(xp, pat, num_file, file, options)
#endif
#ifdef FEAT_USR_CMDS
{EXPAND_USER_COMMANDS, get_user_commands, FALSE, TRUE},
{EXPAND_USER_ADDR_TYPE, get_user_cmd_addr_type, FALSE, TRUE},
{EXPAND_USER_CMD_FLAGS, get_user_cmd_flags, FALSE, TRUE},
{EXPAND_USER_NARGS, get_user_cmd_nargs, FALSE, TRUE},
{EXPAND_USER_COMPLETE, get_user_cmd_complete, FALSE, TRUE},