mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 9.0.0036: 'fillchars' cannot have window-local values
Problem: 'fillchars' cannot have window-local values. Solution: Make 'fillchars' global-local. (closes #5206)
This commit is contained in:
@@ -232,6 +232,8 @@ typedef struct
|
||||
#define w_p_list w_onebuf_opt.wo_list // 'list'
|
||||
char_u *wo_lcs;
|
||||
#define w_p_lcs w_onebuf_opt.wo_lcs // 'listchars'
|
||||
char_u *wo_fcs;
|
||||
#define w_p_fcs w_onebuf_opt.wo_fcs // 'fillchars'
|
||||
int wo_nu;
|
||||
#define w_p_nu w_onebuf_opt.wo_nu // 'number'
|
||||
int wo_rnu;
|
||||
@@ -3418,6 +3420,22 @@ typedef struct
|
||||
#endif
|
||||
} lcs_chars_T;
|
||||
|
||||
/*
|
||||
* Characters from the 'fillchars' option
|
||||
*/
|
||||
typedef struct
|
||||
{
|
||||
int stl;
|
||||
int stlnc;
|
||||
int vert;
|
||||
int fold;
|
||||
int foldopen;
|
||||
int foldclosed;
|
||||
int foldsep;
|
||||
int diff;
|
||||
int eob;
|
||||
} fill_chars_T;
|
||||
|
||||
/*
|
||||
* Structure which contains all information that belongs to a window
|
||||
*
|
||||
@@ -3470,6 +3488,7 @@ struct window_S
|
||||
// redrawn
|
||||
|
||||
lcs_chars_T w_lcs_chars; // 'listchars' characters
|
||||
fill_chars_T w_fill_chars; // 'fillchars' characters
|
||||
|
||||
/*
|
||||
* "w_topline", "w_leftcol" and "w_skipcol" specify the offsets for
|
||||
|
Reference in New Issue
Block a user