diff options
author | Felipe Morales <hel.sheep@gmail.com> | 2015-01-15 20:18:15 -0300 |
---|---|---|
committer | Felipe Morales <hel.sheep@gmail.com> | 2015-04-28 23:08:31 -0300 |
commit | 7fc952ab67afdfef5ba2a90cb277b30ce573333c (patch) | |
tree | a1f0aa7e32bd75347b3ecc4291263f1f133288bb /src/nvim/ex_getln.c | |
parent | c5250857733e70d116ccec2cffe08d49772adcdd (diff) | |
download | rneovim-7fc952ab67afdfef5ba2a90cb277b30ce573333c.tar.gz rneovim-7fc952ab67afdfef5ba2a90cb277b30ce573333c.tar.bz2 rneovim-7fc952ab67afdfef5ba2a90cb277b30ce573333c.zip |
vim-patch: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
https://code.google.com/p/vim/source/detail?name=v7-4-542
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index b54ae5fe11..1a04f1bd91 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -3701,6 +3701,7 @@ ExpandFromContext ( {EXPAND_BEHAVE, get_behave_arg, TRUE, TRUE}, {EXPAND_HISTORY, get_history_arg, TRUE, TRUE}, {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}, |