aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/drawline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/drawline.c')
-rw-r--r--src/nvim/drawline.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/nvim/drawline.c b/src/nvim/drawline.c
index 7e92128b65..4b989fa59a 100644
--- a/src/nvim/drawline.c
+++ b/src/nvim/drawline.c
@@ -2291,14 +2291,6 @@ int win_line(win_T *wp, linenr_T lnum, int startrow, int endrow, bool number_onl
wlv.n_extra = win_lbr_chartabsize(&cts, NULL) - 1;
clear_chartabsize_arg(&cts);
- // We have just drawn the showbreak value, no need to add
- // space for it again.
- if (wlv.vcol == wlv.vcol_sbr) {
- wlv.n_extra -= mb_charlen(get_showbreak_value(wp));
- if (wlv.n_extra < 0) {
- wlv.n_extra = 0;
- }
- }
if (on_last_col && c != TAB) {
// Do not continue search/match highlighting over the
// line break, but for TABs the highlighting should