diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-02-23 15:29:46 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-02-23 15:29:46 +0100 |
commit | b81f56fb57c87a7490dd79908c257437d1958447 (patch) | |
tree | fa363ee5893351d602dea5245003629852a09d83 /src/structs.h | |
parent | 1aa76b8fd06c278fe36c39b0bbe7233c775d7423 (diff) | |
download | vim-git-b81f56fb57c87a7490dd79908c257437d1958447.tar.gz |
patch 8.2.0309: window-local values have confusing namev8.2.0309
Problem: Window-local values have confusing name.
Solution: Rename w_p_bri* to w_briopt_*.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/structs.h b/src/structs.h index 4b7064171..7830e6443 100644 --- a/src/structs.h +++ b/src/structs.h @@ -3341,14 +3341,15 @@ struct window_S 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)) |