[vim/vim] :argdelete with pattern leads to wrong argidx() (PR #20697)

1 view
Skip to first unread message

zeertzjq

unread,
Jul 3, 2026, 8:31:12 PM (6 hours ago) Jul 3
to vim/vim, Subscribed

Problem: :argdelete with pattern leads to wrong argidx().
Solution: Correct argidx() in both branches of ex_argdelete(). Also use
ARGCOUNT macro in two more places.

related: patch 7.4.1119
related: neovim/neovim#40564


You can view, comment on, or merge this pull request online at:

  https://github.com/vim/vim/pull/20697

Commit Summary

  • d5f4e4a :argdelete with pattern leads to wrong argidx()

File Changes

(2 files)

Patch Links:


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you are subscribed to this thread.Message ID: <vim/vim/pull/20697@github.com>

Reply all
Reply to author
Forward
0 new messages