summaryrefslogtreecommitdiffstats
path: root/src/misc1.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-09-12 17:51:07 +0100
committerBram Moolenaar <Bram@vim.org>2022-09-12 17:51:07 +0100
commitc9dc03fff5acf6fb91a923fb95006f9c2bca6141 (patch)
tree45b3d362479f364ff79f461d459e1f2a310319d3 /src/misc1.c
parent7b2d87220c6c974d5cdae672b6f9620a6bcbd1dc (diff)
patch 9.0.0451: virtual text "above" does not work with 'nowrap'v9.0.0451
Problem: Virtual text "above" does not work with 'nowrap'. Solution: Do wrap the line after. (closes #11084)
Diffstat (limited to 'src/misc1.c')
-rw-r--r--src/misc1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/misc1.c b/src/misc1.c
index 8257f7680a..ee79e694a3 100644
--- a/src/misc1.c
+++ b/src/misc1.c
@@ -377,8 +377,8 @@ plines_win_nofill(
if (!wp->w_p_wrap)
lines = 1
#ifdef FEAT_PROP_POPUP
- // add a line for each "below" aligned text property
- + prop_count_below(wp->w_buffer, lnum)
+ // add a line for each "above" and "below" aligned text property
+ + prop_count_above_below(wp->w_buffer, lnum)
#endif
;
else