mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 23:18:33 +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:
@@ -166,11 +166,11 @@ typedef struct {
|
||||
char_u *wo_briopt;
|
||||
# define w_p_briopt w_onebuf_opt.wo_briopt /* 'breakindentopt' */
|
||||
int wo_diff;
|
||||
# define w_p_diff w_onebuf_opt.wo_diff /* 'diff' */
|
||||
long wo_fdc;
|
||||
# define w_p_fdc w_onebuf_opt.wo_fdc /* 'foldcolumn' */
|
||||
int wo_fdc_save;
|
||||
# define w_p_fdc_save w_onebuf_opt.wo_fdc_save /* 'foldenable' saved for diff mode */
|
||||
# define w_p_diff w_onebuf_opt.wo_diff // 'diff'
|
||||
char_u *wo_fdc;
|
||||
# define w_p_fdc w_onebuf_opt.wo_fdc // 'foldcolumn'
|
||||
char_u *wo_fdc_save;
|
||||
# define w_p_fdc_save w_onebuf_opt.wo_fdc_save // 'fdc' saved for diff mode
|
||||
int wo_fen;
|
||||
# define w_p_fen w_onebuf_opt.wo_fen /* 'foldenable' */
|
||||
int wo_fen_save;
|
||||
|
Reference in New Issue
Block a user