aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/edit.c
diff options
context:
space:
mode:
authorMatthieu Coudron <mattator@gmail.com>2020-03-02 13:56:27 +0100
committerGitHub <noreply@github.com>2020-03-02 13:56:27 +0100
commitd22fd58629c6aa93d808d74a7e6dee79e3246ae0 (patch)
treecda0f3a59a076bae4c1cf4f6e51328eee560cf1e /src/nvim/edit.c
parente35ff7371f4a61621587744a7620200380abbbe9 (diff)
parent6f261d23942feb22e5aa2881bc645bce5c5ce946 (diff)
downloadrneovim-d22fd58629c6aa93d808d74a7e6dee79e3246ae0.tar.gz
rneovim-d22fd58629c6aa93d808d74a7e6dee79e3246ae0.tar.bz2
rneovim-d22fd58629c6aa93d808d74a7e6dee79e3246ae0.zip
Merge pull request #11716 from teto/folds_auto_backup
[RFC] foldcolumn autowidth
Diffstat (limited to 'src/nvim/edit.c')
-rw-r--r--src/nvim/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/edit.c b/src/nvim/edit.c
index e41f9c0381..f938607f17 100644
--- a/src/nvim/edit.c
+++ b/src/nvim/edit.c
@@ -6215,7 +6215,7 @@ comp_textwidth (
if (cmdwin_type != 0) {
textwidth -= 1;
}
- textwidth -= curwin->w_p_fdc;
+ textwidth -= win_fdccol_count(curwin);
textwidth -= win_signcol_count(curwin);
if (curwin->w_p_nu || curwin->w_p_rnu)