diff options
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r-- | src/nvim/edit.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c index c8d98bce3b..a0dce5ff7d 100644 --- a/src/nvim/edit.c +++ b/src/nvim/edit.c @@ -5899,10 +5899,7 @@ comp_textwidth ( textwidth -= 1; } textwidth -= curwin->w_p_fdc; - - if (signcolumn_on(curwin)) { - textwidth -= 1; - } + textwidth -= win_signcol_count(curwin); if (curwin->w_p_nu || curwin->w_p_rnu) textwidth -= 8; |