mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.2.1894: Vim9: command modifiers are not supported
Problem: Vim9: command modifiers are not supported. Solution: Support "silent" and "silent!".
This commit is contained in:
@@ -3577,9 +3577,11 @@ var_redir_start(char_u *name, int append)
|
||||
tv.v_type = VAR_STRING;
|
||||
tv.vval.v_string = (char_u *)"";
|
||||
if (append)
|
||||
set_var_lval(redir_lval, redir_endp, &tv, TRUE, 0, (char_u *)".");
|
||||
set_var_lval(redir_lval, redir_endp, &tv, TRUE,
|
||||
ASSIGN_NO_DECL, (char_u *)".");
|
||||
else
|
||||
set_var_lval(redir_lval, redir_endp, &tv, TRUE, 0, (char_u *)"=");
|
||||
set_var_lval(redir_lval, redir_endp, &tv, TRUE,
|
||||
ASSIGN_NO_DECL, (char_u *)"=");
|
||||
clear_lval(redir_lval);
|
||||
if (called_emsg > called_emsg_before)
|
||||
{
|
||||
|
Reference in New Issue
Block a user