diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-02-13 14:05:26 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-02-13 14:27:17 -0500 |
commit | cdace43b6c02ba2125dbcf3ce36d26ac8bb3e219 (patch) | |
tree | fa9b4989ae4d2db9c7ff93a5a4b31fbfde34a87b /src/nvim/buffer.h | |
parent | a2aeed013c131fc98ec135299a2c6f239b1b01eb (diff) | |
download | rneovim-cdace43b6c02ba2125dbcf3ce36d26ac8bb3e219.tar.gz rneovim-cdace43b6c02ba2125dbcf3ce36d26ac8bb3e219.tar.bz2 rneovim-cdace43b6c02ba2125dbcf3ce36d26ac8bb3e219.zip |
vim-patch:8.2.1904: still using default option values after using ":badd +1"
Problem: Still using default option values after using ":badd +1".
Solution: Find a window where options were set. Don't set the window when
using ":badd".
https://github.com/vim/vim/commit/89b693e5627715cde080c3580c7b641c9bf0c06a
Diffstat (limited to 'src/nvim/buffer.h')
-rw-r--r-- | src/nvim/buffer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/buffer.h b/src/nvim/buffer.h index ee3fda5f6d..ac7ead5f92 100644 --- a/src/nvim/buffer.h +++ b/src/nvim/buffer.h @@ -33,6 +33,9 @@ enum bln_values { BLN_DUMMY = 4, // Allocating dummy buffer BLN_NEW = 8, // create a new buffer BLN_NOOPT = 16, // Don't copy options to existing buffer + // BLN_DUMMY_OK = 32, // also find an existing dummy buffer + // BLN_REUSE = 64, // may re-use number from buf_reuse + BLN_NOCURWIN = 128, // buffer is not associated with curwin }; // Values for action argument for do_buffer() |