1
0
forked from aniani/vim

patch 8.1.1241: Ex command info contains confusing information

Problem:    Ex command info contains confusing information.
Solution:   When using the NOTADR flag use ADDR_OTHER for the address type.
            Cleanup code using NOTADR.  Check for errors in
            create_cmdidxs.vim.  Adjust Makefile to see the errors.
This commit is contained in:
Bram Moolenaar
2019-05-01 18:08:42 +02:00
parent d96dbd6f95
commit b731689e85
9 changed files with 769 additions and 700 deletions

View File

@@ -3157,6 +3157,13 @@ ex_update(exarg_T *eap)
void
ex_write(exarg_T *eap)
{
if (eap->cmdidx == CMD_saveas)
{
// :saveas does not take a range, uses all lines.
eap->line1 = 1;
eap->line2 = curbuf->b_ml.ml_line_count;
}
if (eap->usefilter) /* input lines to shell command */
do_bang(1, eap, FALSE, TRUE, FALSE);
else