mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 06:28:35 +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:
@@ -4482,8 +4482,9 @@ prepare_tagpreview (
|
||||
curwin->w_p_wfh = TRUE;
|
||||
RESET_BINDING(curwin); /* don't take over 'scrollbind'
|
||||
and 'cursorbind' */
|
||||
curwin->w_p_diff = FALSE; /* no 'diff' */
|
||||
curwin->w_p_fdc = 0; /* no 'foldcolumn' */
|
||||
curwin->w_p_diff = false; // no 'diff'
|
||||
set_string_option_direct((char_u *)"fdc", -1,
|
||||
(char_u *)"0", OPT_FREE, SID_NONE);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user