diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 19:06:16 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 19:06:16 +0000 |
commit | 1585b6dc94be23cda47cdeac939c2c74a8bd4c37 (patch) | |
tree | 745848c44400b14f40b4fb05aaf634578a525020 /src/textformat.c | |
parent | Releasing progress-linux version 2:9.1.0374-1~progress7.99u1. (diff) | |
download | vim-1585b6dc94be23cda47cdeac939c2c74a8bd4c37.tar.xz vim-1585b6dc94be23cda47cdeac939c2c74a8bd4c37.zip |
Merging upstream version 2:9.1.0377.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/textformat.c')
-rw-r--r-- | src/textformat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/textformat.c b/src/textformat.c index 41ec2cf..d380899 100644 --- a/src/textformat.c +++ b/src/textformat.c @@ -59,9 +59,11 @@ internal_format( int safe_tw = trim_to_int(8 * (vimlong_T)textwidth); #ifdef FEAT_LINEBREAK int has_lbr = curwin->w_p_lbr; + int has_bri = curwin->w_p_bri; // make sure win_lbr_chartabsize() counts correctly curwin->w_p_lbr = FALSE; + curwin->w_p_bri = FALSE; #endif // When 'ai' is off we don't want a space under the cursor to be @@ -475,6 +477,7 @@ internal_format( #ifdef FEAT_LINEBREAK curwin->w_p_lbr = has_lbr; + curwin->w_p_bri = has_bri; #endif if (!format_only && haveto_redraw) { |