comparison src/autocmd.c @ 23165:a916fca16d4b v8.2.2128

patch 8.2.2128: there is no way to do something on CTRL-Z Commit: https://github.com/vim/vim/commit/100118c73ac068137cd298d22953896242752523 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Dec 11 19:30:34 2020 +0100 patch 8.2.2128: there is no way to do something on CTRL-Z Problem: There is no way to do something on CTRL-Z. Solution: Add VimSuspend and VimResume autocommand events. (closes https://github.com/vim/vim/issues/7450)
author Bram Moolenaar <Bram@vim.org>
date Fri, 11 Dec 2020 19:45:04 +0100
parents 80bd5de5dcab
children 9a5f12b36273
comparison
equal deleted inserted replaced
23164:99ef85ff1af4 23165:a916fca16d4b
189 {"WinNew", EVENT_WINNEW}, 189 {"WinNew", EVENT_WINNEW},
190 {"WinEnter", EVENT_WINENTER}, 190 {"WinEnter", EVENT_WINENTER},
191 {"WinLeave", EVENT_WINLEAVE}, 191 {"WinLeave", EVENT_WINLEAVE},
192 {"VimResized", EVENT_VIMRESIZED}, 192 {"VimResized", EVENT_VIMRESIZED},
193 {"TextYankPost", EVENT_TEXTYANKPOST}, 193 {"TextYankPost", EVENT_TEXTYANKPOST},
194 {"VimSuspend", EVENT_VIMSUSPEND},
195 {"VimResume", EVENT_VIMRESUME},
194 {NULL, (event_T)0} 196 {NULL, (event_T)0}
195 }; 197 };
196 198
197 static AutoPat *first_autopat[NUM_EVENTS] = 199 static AutoPat *first_autopat[NUM_EVENTS] =
198 { 200 {