Can't add {silent} argument to execute()
alizeegagnon opened this issue · comments
Alizée commented
Steps to reproduce
- Start vim with
vim -u NONE
- Insert any text in the first line and come back to normal mode (ex.
ithis is text<ESC>
) - Type
:execute('1d', 'silent')
Expected behaviour
The first line gets deleted (silently)
I expect this command to succeed because :help execute()
suggests the {silent}
option.
Version of Vim
8.2.2121
Environment
OS: Ubuntu 22.04.4 LTS
Terminal: GNOME Terminal 3.44.0
$TERM: xterm-256color
Shell: GNU bash, version 5.1.16(1)
Window manager: i3wm version 4.20.1
Full vim version, patches, features, flags
Logs and stack traces
E110: Missing ')'
zeertzjq commented
:call execute('1d', 'silent')
Alizée commented
That was it, thanks!!