Mercurial > vim
diff src/ex_cmdidxs.h @ 26719:2bdcce61a4e4 v8.2.3888
patch 8.2.3888: the argument list may contain duplicates
Commit: https://github.com/vim/vim/commit/73a024209cbfbd5b39a2e974084d807c6131e2ed
Author: Nir Lichtman <nir_lichtman@hotmail.com>
Date: Fri Dec 24 20:28:03 2021 +0000
patch 8.2.3888: the argument list may contain duplicates
Problem: The argument list may contain duplicates.
Solution: Add the :argdedeupe command. (Nir Lichtman, closes https://github.com/vim/vim/issues/6235)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 24 Dec 2021 21:30:03 +0100 |
parents | b6ac4ed5e2d2 |
children | 5dfd4bd66ad8 |
line wrap: on
line diff
--- a/src/ex_cmdidxs.h +++ b/src/ex_cmdidxs.h @@ -6,31 +6,31 @@ static const unsigned short cmdidxs1[26] = { /* a */ 0, - /* b */ 20, - /* c */ 44, - /* d */ 111, - /* e */ 136, - /* f */ 164, - /* g */ 181, - /* h */ 187, - /* i */ 196, - /* j */ 216, - /* k */ 218, - /* l */ 223, - /* m */ 286, - /* n */ 304, - /* o */ 324, - /* p */ 336, - /* q */ 375, - /* r */ 378, - /* s */ 398, - /* t */ 468, - /* u */ 514, - /* v */ 525, - /* w */ 546, - /* x */ 560, - /* y */ 570, - /* z */ 571 + /* b */ 21, + /* c */ 45, + /* d */ 112, + /* e */ 137, + /* f */ 165, + /* g */ 182, + /* h */ 188, + /* i */ 197, + /* j */ 217, + /* k */ 219, + /* l */ 224, + /* m */ 287, + /* n */ 305, + /* o */ 325, + /* p */ 337, + /* q */ 376, + /* r */ 379, + /* s */ 399, + /* t */ 469, + /* u */ 515, + /* v */ 526, + /* w */ 547, + /* x */ 561, + /* y */ 571, + /* z */ 572 }; /* @@ -41,7 +41,7 @@ static const unsigned short cmdidxs1[26] */ static const unsigned char cmdidxs2[26][26] = { /* a b c d e f g h i j k l m n o p q r s t u v w x y z */ - /* a */ { 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 6, 7, 0, 0, 0, 8, 16, 0, 17, 0, 0, 0, 0, 0 }, + /* a */ { 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5, 6, 7, 0, 0, 0, 8, 17, 0, 18, 0, 0, 0, 0, 0 }, /* b */ { 2, 0, 0, 5, 6, 8, 0, 0, 0, 0, 0, 9, 10, 11, 12, 13, 0, 14, 0, 0, 0, 0, 23, 0, 0, 0 }, /* c */ { 3, 12, 16, 18, 20, 22, 25, 0, 0, 0, 0, 33, 38, 41, 47, 57, 59, 60, 61, 0, 63, 0, 66, 0, 0, 0 }, /* d */ { 0, 0, 0, 0, 0, 0, 0, 0, 8, 18, 0, 19, 0, 0, 20, 0, 0, 22, 23, 0, 0, 0, 0, 0, 0, 0 }, @@ -69,4 +69,4 @@ static const unsigned char cmdidxs2[26][ /* z */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 } }; -static const int command_count = 588; +static const int command_count = 589;