diff options
Diffstat (limited to 'src/normal.c')
| -rw-r--r-- | src/normal.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/normal.c b/src/normal.c index f5e5475f3..5d0796f47 100644 --- a/src/normal.c +++ b/src/normal.c @@ -1995,6 +1995,11 @@ do_pending_operator(cmdarg_T *cap, int old_col, int gui_yank) break; case OP_FUNCTION: +#ifdef FEAT_LINEBREAK + /* Restore linebreak, so that when the user edits it looks as + * before. */ + curwin->w_p_lbr = lbr_saved; +#endif op_function(oap); /* call 'operatorfunc' */ break; |
