terminal_open: do not force autocmds

This commit is contained in:
Justin M. Keyes
2016-02-19 03:03:11 -05:00
parent 91254bd9d8
commit 87a49405b0

View File

@@ -236,7 +236,7 @@ Terminal *terminal_open(TerminalOptions opts)
set_option_value((uint8_t *)"relativenumber", false, NULL, OPT_LOCAL); set_option_value((uint8_t *)"relativenumber", false, NULL, OPT_LOCAL);
RESET_BINDING(curwin); RESET_BINDING(curwin);
// Apply TermOpen autocmds so the user can configure the terminal // Apply TermOpen autocmds so the user can configure the terminal
apply_autocmds(EVENT_TERMOPEN, NULL, NULL, true, curbuf); apply_autocmds(EVENT_TERMOPEN, NULL, NULL, false, curbuf);
// Configure the scrollback buffer. Try to get the size from: // Configure the scrollback buffer. Try to get the size from:
// //