mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
fix: assertion failure when requiring missing module in autocmd
Closes https://github.com/neovim/neovim/issues/15348
This commit is contained in:
parent
fb39bba5a6
commit
da34833fdf
@ -870,7 +870,8 @@ static uint8_t *command_line_enter(int firstc, long count, int indent, bool init
|
||||
|
||||
if (!tl_ret && ERROR_SET(&err)) {
|
||||
msg_putchar('\n');
|
||||
msg_printf_attr(HL_ATTR(HLF_E)|MSG_HIST, (char *)e_autocmd_err, err.msg);
|
||||
semsg(e_autocmd_err, err.msg);
|
||||
did_emsg = false;
|
||||
api_clear_error(&err);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user