Mercurial > vim
comparison src/structs.h @ 19503:a4be2f9cfb01 v8.2.0309
patch 8.2.0309: window-local values have confusing name
Commit: https://github.com/vim/vim/commit/b81f56fb57c87a7490dd79908c257437d1958447
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Feb 23 15:29:46 2020 +0100
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_*.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 23 Feb 2020 15:30:04 +0100 |
parents | 2bb0e80fcd32 |
children | 020056c2fd39 |
comparison
equal
deleted
inserted
replaced
19502:dca8f4a690d5 | 19503:a4be2f9cfb01 |
---|---|
3339 #endif | 3339 #endif |
3340 #ifdef FEAT_SYN_HL | 3340 #ifdef FEAT_SYN_HL |
3341 int *w_p_cc_cols; // array of columns to highlight or NULL | 3341 int *w_p_cc_cols; // array of columns to highlight or NULL |
3342 char_u w_p_culopt_flags; // flags for cursorline highlighting | 3342 char_u w_p_culopt_flags; // flags for cursorline highlighting |
3343 #endif | 3343 #endif |
3344 #ifdef FEAT_LINEBREAK | |
3345 int w_p_brimin; // minimum width for breakindent | |
3346 int w_p_brishift; // additional shift for breakindent | |
3347 int w_p_brisbr; // sbr in 'briopt' | |
3348 #endif | |
3349 long w_p_siso; // 'sidescrolloff' local value | 3344 long w_p_siso; // 'sidescrolloff' local value |
3350 long w_p_so; // 'scrolloff' local value | 3345 long w_p_so; // 'scrolloff' local value |
3346 | |
3347 #ifdef FEAT_LINEBREAK | |
3348 int w_briopt_min; // minimum width for breakindent | |
3349 int w_briopt_shift; // additional shift for breakindent | |
3350 int w_briopt_sbr; // sbr in 'briopt' | |
3351 #endif | |
3351 | 3352 |
3352 // transform a pointer to a "onebuf" option into a "allbuf" option | 3353 // transform a pointer to a "onebuf" option into a "allbuf" option |
3353 #define GLOBAL_WO(p) ((char *)p + sizeof(winopt_T)) | 3354 #define GLOBAL_WO(p) ((char *)p + sizeof(winopt_T)) |
3354 | 3355 |
3355 long w_scbind_pos; | 3356 long w_scbind_pos; |