mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 11:38:31 +00:00
terminal_open: do not force autocmds
This commit is contained in:
@@ -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:
|
||||||
//
|
//
|
||||||
|
Reference in New Issue
Block a user