diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-08-08 17:44:56 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-08-08 22:22:34 -0400 |
commit | f89a275e32110a63e8ee1fc6ca75e0cf09194185 (patch) | |
tree | 9a9a18a357f50d6cc114e034af4ba317fcd906ed /src/nvim/buffer_defs.h | |
parent | 68f61b167e71ca8dd42157b10b3096571c06f39d (diff) | |
download | rneovim-f89a275e32110a63e8ee1fc6ca75e0cf09194185.tar.gz rneovim-f89a275e32110a63e8ee1fc6ca75e0cf09194185.tar.bz2 rneovim-f89a275e32110a63e8ee1fc6ca75e0cf09194185.zip |
vim-patch:8.2.3160: 'breakindent' does not work well for bulleted lists
Problem: 'breakindent' does not work well for bulleted and numbered lists.
Solution: Add the "list" entry to 'breakindentopt'. (Christian Brabandt,
closes vim/vim#8564, closes vim/vim#1661)
https://github.com/vim/vim/commit/4a0b85ad0193ac162e2d8458e4b1c5ad2e2b0193
Diffstat (limited to 'src/nvim/buffer_defs.h')
-rw-r--r-- | src/nvim/buffer_defs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/nvim/buffer_defs.h b/src/nvim/buffer_defs.h index 3db6892b71..1247e48c5f 100644 --- a/src/nvim/buffer_defs.h +++ b/src/nvim/buffer_defs.h @@ -1395,6 +1395,7 @@ struct window_S { int w_briopt_min; // minimum width for breakindent int w_briopt_shift; // additional shift for breakindent bool w_briopt_sbr; // sbr in 'briopt' + int w_briopt_list; // additional indent for lists // transform a pointer to a "onebuf" option into a "allbuf" option #define GLOBAL_WO(p) ((char *)p + sizeof(winopt_T)) |