diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-10-20 21:58:42 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-10-20 21:58:42 +0100 |
commit | 1d30fde3c989a962e0e1af4cbcf90e1ea483f1f4 (patch) | |
tree | 138c81443921e31b93299222af015755ed61404e /src/vim.h | |
parent | 09f7723d5a8694889350b13e3f6b4a9c3ed4c41f (diff) |
patch 8.2.3547: opening the quickfix window triggers BufWinEnter twicev8.2.3547
Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick
Peterse)
Solution: Only trigger BufWinEnter with "quickfix". (closes #9022)
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -977,6 +977,7 @@ extern int (*dyn_libintl_wputenv)(const wchar_t *envstring); #define READ_DUMMY 0x10 // reading into a dummy buffer #define READ_KEEP_UNDO 0x20 // keep undo info #define READ_FIFO 0x40 // read from fifo or socket +#define READ_NOWINENTER 0x80 // do not trigger BufWinEnter // Values for change_indent() #define INDENT_SET 1 // set indent @@ -1043,6 +1044,7 @@ extern int (*dyn_libintl_wputenv)(const wchar_t *envstring); #define ECMD_FORCEIT 0x08 // ! used in Ex command #define ECMD_ADDBUF 0x10 // don't edit, just add to buffer list #define ECMD_ALTBUF 0x20 // like ECMD_ADDBUF and set the alternate file +#define ECMD_NOWINENTER 0x40 // do not trigger BufWinEnter // for lnum argument in do_ecmd() #define ECMD_LASTL (linenr_T)0 // use last position in loaded file |