[vim/vim] Can't add {silent} argument to execute() (Issue #14717)

13 views
Skip to first unread message

Alizée

unread,
May 3, 2024, 6:25:41 PM5/3/24
to vim/vim, Subscribed

Steps to reproduce

  1. Start vim with vim -u NONE
  2. Insert any text in the first line and come back to normal mode (ex. ithis is text<ESC>)
  3. 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 ')'


Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/14717@github.com>

zeertzjq

unread,
May 3, 2024, 6:27:44 PM5/3/24
to vim/vim, Subscribed

:call execute('1d', 'silent')


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/14717/2093839685@github.com>

Alizée

unread,
May 3, 2024, 6:30:34 PM5/3/24
to vim/vim, Subscribed

That was it, thanks!!


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issues/14717/2093841760@github.com>

Alizée

unread,
May 3, 2024, 6:30:37 PM5/3/24
to vim/vim, Subscribed

Closed #14717 as completed.


Reply to this email directly, view it on GitHub.

You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/issue/14717/issue_event/12701766972@github.com>

Reply all
Reply to author
Forward
0 new messages