diff options
Diffstat (limited to 'src/nvim/eval.c')
-rw-r--r-- | src/nvim/eval.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/nvim/eval.c b/src/nvim/eval.c index 4cf8a01ddb..85b838e443 100644 --- a/src/nvim/eval.c +++ b/src/nvim/eval.c @@ -19902,13 +19902,15 @@ void ex_function(exarg_T *eap) if (FUNCLINE(fp, j) == NULL) continue; msg_putchar('\n'); - msg_outnum((long)(j + 1)); - if (j < 9) + msg_outnum((long)j + 1); + if (j < 9) { msg_putchar(' '); - if (j < 99) + } + if (j < 99) { msg_putchar(' '); - msg_prt_line(FUNCLINE(fp, j), FALSE); - ui_flush(); /* show a line at a time */ + } + msg_prt_line(FUNCLINE(fp, j), false); + ui_flush(); // show a line at a time os_breakcheck(); } if (!got_int) { |