Mercurial > vim
diff src/vim.h @ 22711:92f221ad267c v8.2.1904
patch 8.2.1904: still using default option values after using ":badd +1"
Commit: https://github.com/vim/vim/commit/89b693e5627715cde080c3580c7b641c9bf0c06a
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Oct 25 17:09:50 2020 +0100
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".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 25 Oct 2020 17:15:03 +0100 |
parents | 87987c783087 |
children | 92a100fc5e17 |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -931,6 +931,7 @@ extern int (*dyn_libintl_wputenv)(const #define BLN_NOOPT 16 // don't copy options to existing buffer #define BLN_DUMMY_OK 32 // also find an existing dummy buffer #define BLN_REUSE 64 // may re-use number from buf_reuse +#define BLN_NOCURWIN 128 // buffer is not associated with curwin // Values for in_cinkeys() #define KEY_OPEN_FORW 0x101