1
0
forked from aniani/vim

patch 8.0.1596: no autocommand specifically for opening a terminal window

Problem:    No autocommand specifically for opening a terminal window.
Solution:   Add TerminalOpen. (?, closes #2484)
This commit is contained in:
Bram Moolenaar
2018-03-11 16:55:36 +01:00
parent 12a96de430
commit b852c3e64d
6 changed files with 58 additions and 17 deletions

View File

@@ -1346,6 +1346,7 @@ enum auto_event
EVENT_CMDUNDEFINED, /* command undefined */
EVENT_OPTIONSET, /* option was set */
EVENT_TEXTYANKPOST, /* after some text was yanked */
EVENT_TERMINALOPEN, /* after a terminal buffer was created */
NUM_EVENTS /* MUST be the last one */
};