Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
22710:d54b1d74bd6c | 22711:92f221ad267c |
---|---|
929 #define BLN_DUMMY 4 // allocating dummy buffer | 929 #define BLN_DUMMY 4 // allocating dummy buffer |
930 #define BLN_NEW 8 // create a new buffer | 930 #define BLN_NEW 8 // create a new buffer |
931 #define BLN_NOOPT 16 // don't copy options to existing buffer | 931 #define BLN_NOOPT 16 // don't copy options to existing buffer |
932 #define BLN_DUMMY_OK 32 // also find an existing dummy buffer | 932 #define BLN_DUMMY_OK 32 // also find an existing dummy buffer |
933 #define BLN_REUSE 64 // may re-use number from buf_reuse | 933 #define BLN_REUSE 64 // may re-use number from buf_reuse |
934 #define BLN_NOCURWIN 128 // buffer is not associated with curwin | |
934 | 935 |
935 // Values for in_cinkeys() | 936 // Values for in_cinkeys() |
936 #define KEY_OPEN_FORW 0x101 | 937 #define KEY_OPEN_FORW 0x101 |
937 #define KEY_OPEN_BACK 0x102 | 938 #define KEY_OPEN_BACK 0x102 |
938 #define KEY_COMPLETE 0x103 // end of completion | 939 #define KEY_COMPLETE 0x103 // end of completion |