patch 9.2.0130: missing range flags for the :tab command

Commit: 
https://github.com/vim/vim/commit/49b8d9903bc7a2620ce7cf46228e16f7cd308d2e
Author: Doug Kearns <[email protected]>
Date:   Mon Mar 9 19:52:30 2026 +0000

    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 <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/src/ex_cmds.h b/src/ex_cmds.h
index a3d705d5f..f51f584e0 100644
--- a/src/ex_cmds.h
+++ b/src/ex_cmds.h
@@ -1560,8 +1560,8 @@ EXCMD(CMD_tags,           "tags",         do_tags,
        EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK,
        ADDR_NONE),
 EXCMD(CMD_tab,         "tab",          ex_wrongmodifier,
-       EX_NEEDARG|EX_EXTRA|EX_NOTRLCOM,
-       ADDR_NONE),
+       EX_RANGE|EX_ZEROR|EX_NEEDARG|EX_EXTRA|EX_NOTRLCOM,
+       ADDR_TABS),
 EXCMD(CMD_tabclose,    "tabclose",     ex_tabclose,
        
EX_BANG|EX_RANGE|EX_ZEROR|EX_EXTRA|EX_NOSPC|EX_TRLBAR|EX_CMDWIN|EX_LOCK_OK,
        ADDR_TABS),
diff --git a/src/version.c b/src/version.c
index 29f46f381..0a8788b0b 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    130,
 /**/
     129,
 /**/

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1vzgln-00Etxt-S2%40256bit.org.

Raspunde prin e-mail lui