mirror of
https://github.com/neovim/neovim.git
synced 2025-09-15 07:48:18 +00:00
foldcolumn: allow auto:X
Similar to signcolumn, allow foldcolumn to adapt itself to the number of folds. Regression: vim supports a maximum fdc of 12, this limits it to 9.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user