comparison src/vim.h @ 26026:db9fdfb86679 v8.2.3547

patch 8.2.3547: opening the quickfix window triggers BufWinEnter twice Commit: https://github.com/vim/vim/commit/1d30fde3c989a962e0e1af4cbcf90e1ea483f1f4 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Oct 20 21:58:42 2021 +0100 patch 8.2.3547: opening the quickfix window triggers BufWinEnter twice Problem: Opening the quickfix window triggers BufWinEnter twice. (Yorick Peterse) Solution: Only trigger BufWinEnter with "quickfix". (closes #9022)
author Bram Moolenaar <Bram@vim.org>
date Wed, 20 Oct 2021 23:00:05 +0200
parents e8873138ffbb
children 92c424550367
comparison
equal deleted inserted replaced
26025:480c0f6e2822 26026:db9fdfb86679
975 #define READ_STDIN 0x04 // read from stdin 975 #define READ_STDIN 0x04 // read from stdin
976 #define READ_BUFFER 0x08 // read from curbuf (converting stdin) 976 #define READ_BUFFER 0x08 // read from curbuf (converting stdin)
977 #define READ_DUMMY 0x10 // reading into a dummy buffer 977 #define READ_DUMMY 0x10 // reading into a dummy buffer
978 #define READ_KEEP_UNDO 0x20 // keep undo info 978 #define READ_KEEP_UNDO 0x20 // keep undo info
979 #define READ_FIFO 0x40 // read from fifo or socket 979 #define READ_FIFO 0x40 // read from fifo or socket
980 #define READ_NOWINENTER 0x80 // do not trigger BufWinEnter
980 981
981 // Values for change_indent() 982 // Values for change_indent()
982 #define INDENT_SET 1 // set indent 983 #define INDENT_SET 1 // set indent
983 #define INDENT_INC 2 // increase indent 984 #define INDENT_INC 2 // increase indent
984 #define INDENT_DEC 3 // decrease indent 985 #define INDENT_DEC 3 // decrease indent
1041 // opening file 1042 // opening file
1042 #define ECMD_OLDBUF 0x04 // use existing buffer if it exists 1043 #define ECMD_OLDBUF 0x04 // use existing buffer if it exists
1043 #define ECMD_FORCEIT 0x08 // ! used in Ex command 1044 #define ECMD_FORCEIT 0x08 // ! used in Ex command
1044 #define ECMD_ADDBUF 0x10 // don't edit, just add to buffer list 1045 #define ECMD_ADDBUF 0x10 // don't edit, just add to buffer list
1045 #define ECMD_ALTBUF 0x20 // like ECMD_ADDBUF and set the alternate file 1046 #define ECMD_ALTBUF 0x20 // like ECMD_ADDBUF and set the alternate file
1047 #define ECMD_NOWINENTER 0x40 // do not trigger BufWinEnter
1046 1048
1047 // for lnum argument in do_ecmd() 1049 // for lnum argument in do_ecmd()
1048 #define ECMD_LASTL (linenr_T)0 // use last position in loaded file 1050 #define ECMD_LASTL (linenr_T)0 // use last position in loaded file
1049 #define ECMD_LAST (linenr_T)-1 // use last position in all files 1051 #define ECMD_LAST (linenr_T)-1 // use last position in all files
1050 #define ECMD_ONE (linenr_T)1 // use first line 1052 #define ECMD_ONE (linenr_T)1 // use first line