summaryrefslogtreecommitdiffstats
path: root/src/ex_getln.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2014-12-08 04:16:44 +0100
committerBram Moolenaar <Bram@vim.org>2014-12-08 04:16:44 +0100
commitf1d6ccf2f9c8a8ae2c0ec4577946397c103ead2b (patch)
treed400dfd4f59ed200c17eb4df1ffdc6c3d273d192 /src/ex_getln.c
parentb2a851fee41a5a1faddcb862aef2beca69dc063a (diff)
updated for version 7.4.542v7.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)
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r--src/ex_getln.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c
index 8ebcc889c3..d8db15abf6 100644
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -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},