forked from aniani/vim
patch 8.1.2219: no autocommand for open window with terminal
Problem: No autocommand for open window with terminal. Solution: Add TerminalWinOpen. (Christian Brabandt)
This commit is contained in:
@@ -690,6 +690,8 @@ term_start(
|
||||
}
|
||||
|
||||
apply_autocmds(EVENT_TERMINALOPEN, NULL, NULL, FALSE, newbuf);
|
||||
if (!opt->jo_hidden && !(flags & TERM_START_SYSTEM))
|
||||
apply_autocmds(EVENT_TERMINALWINOPEN, NULL, NULL, FALSE, newbuf);
|
||||
return newbuf;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user