]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0130: missing range flags for the :tab command v9.2.0130
authorDoug Kearns <dougkearns@gmail.com>
Mon, 9 Mar 2026 19:52:30 +0000 (19:52 +0000)
committerChristian Brabandt <cb@256bit.org>
Mon, 9 Mar 2026 19:52:30 +0000 (19:52 +0000)
commit49b8d9903bc7a2620ce7cf46228e16f7cd308d2e
tree52f89a1f925d95c29c1418a7b01d4f77f748cf28
parent433bcf3becac2e4278f6f2cdeaa932a18e62d15f
patch 9.2.0130: missing range flags for the :tab command

Problem:  :tab accepts a tab address range but doesn't specify this in
          the command specification.
Solution: Add EX_RANGE and EX_ZEROR to the command specification and use
          ADDR_TABS (Doug Kearns).

As command modifers are handled separately before these flags are tested
in the ex-command parser they have no effect.  However, it's better to
use an accurate description and the command specification table has uses
in other areas like runtime file generation for the Vim filetype.

closes: #19100

Signed-off-by: Doug Kearns <dougkearns@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/ex_cmds.h
src/version.c