1
0
forked from aniani/vim

patch 8.2.0309: window-local values have confusing name

Problem:    Window-local values have confusing name.
Solution:   Rename w_p_bri* to w_briopt_*.
This commit is contained in:
Bram Moolenaar
2020-02-23 15:29:46 +01:00
parent 1aa76b8fd0
commit b81f56fb57
4 changed files with 19 additions and 16 deletions

View File

@@ -3340,15 +3340,16 @@ struct window_S
#ifdef FEAT_SYN_HL
int *w_p_cc_cols; // array of columns to highlight or NULL
char_u w_p_culopt_flags; // flags for cursorline highlighting
#endif
#ifdef FEAT_LINEBREAK
int w_p_brimin; // minimum width for breakindent
int w_p_brishift; // additional shift for breakindent
int w_p_brisbr; // sbr in 'briopt'
#endif
long w_p_siso; // 'sidescrolloff' local value
long w_p_so; // 'scrolloff' local value
#ifdef FEAT_LINEBREAK
int w_briopt_min; // minimum width for breakindent
int w_briopt_shift; // additional shift for breakindent
int w_briopt_sbr; // sbr in 'briopt'
#endif
// transform a pointer to a "onebuf" option into a "allbuf" option
#define GLOBAL_WO(p) ((char *)p + sizeof(winopt_T))