comparison src/ex_cmdidxs.h @ 30065:6cf788ab844c v9.0.0370

patch 9.0.0370: cleaning up afterwards can make a function messy Commit: https://github.com/vim/vim/commit/1d84f7608f1e41dad03b8cc7925895437775f7c0 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 3 21:35:53 2022 +0100 patch 9.0.0370: cleaning up afterwards can make a function messy Problem: Cleaning up afterwards can make a function messy. Solution: Add the :defer command.
author Bram Moolenaar <Bram@vim.org>
date Sat, 03 Sep 2022 22:45:03 +0200
parents b97a870a7c63
children 5acc0d2cf4f7
comparison
equal deleted inserted replaced
30064:a8f1fbaa43c8 30065:6cf788ab844c
7 { 7 {
8 /* a */ 0, 8 /* a */ 0,
9 /* b */ 21, 9 /* b */ 21,
10 /* c */ 45, 10 /* c */ 45,
11 /* d */ 112, 11 /* d */ 112,
12 /* e */ 137, 12 /* e */ 138,
13 /* f */ 166, 13 /* f */ 167,
14 /* g */ 183, 14 /* g */ 184,
15 /* h */ 189, 15 /* h */ 190,
16 /* i */ 199, 16 /* i */ 200,
17 /* j */ 219, 17 /* j */ 220,
18 /* k */ 221, 18 /* k */ 222,
19 /* l */ 226, 19 /* l */ 227,
20 /* m */ 289, 20 /* m */ 290,
21 /* n */ 307, 21 /* n */ 308,
22 /* o */ 327, 22 /* o */ 328,
23 /* p */ 339, 23 /* p */ 340,
24 /* q */ 378, 24 /* q */ 379,
25 /* r */ 381, 25 /* r */ 382,
26 /* s */ 401, 26 /* s */ 402,
27 /* t */ 471, 27 /* t */ 472,
28 /* u */ 517, 28 /* u */ 518,
29 /* v */ 528, 29 /* v */ 529,
30 /* w */ 549, 30 /* w */ 550,
31 /* x */ 563, 31 /* x */ 564,
32 /* y */ 573, 32 /* y */ 574,
33 /* z */ 574 33 /* z */ 575
34 }; 34 };
35 35
36 /* 36 /*
37 * Table giving the index of the first command in cmdnames[] to lookup 37 * Table giving the index of the first command in cmdnames[] to lookup
38 * based on the first 2 letters of a command. 38 * based on the first 2 letters of a command.
42 static const unsigned char cmdidxs2[26][26] = 42 static const unsigned char cmdidxs2[26][26] =
43 { /* 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 */ 43 { /* 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 */
44 /* 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 }, 44 /* 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 },
45 /* 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 }, 45 /* 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 },
46 /* 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 }, 46 /* 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 },
47 /* 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 }, 47 /* d */ { 0, 0, 0, 0, 0, 0, 0, 0, 9, 19, 0, 20, 0, 0, 21, 0, 0, 23, 24, 0, 0, 0, 0, 0, 0, 0 },
48 /* e */ { 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 9, 11, 12, 0, 0, 0, 0, 0, 0, 0, 23, 0, 24, 0, 0 }, 48 /* e */ { 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 9, 11, 12, 0, 0, 0, 0, 0, 0, 0, 23, 0, 24, 0, 0 },
49 /* f */ { 0, 0, 0, 0, 0, 0, 0, 0, 0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0 },
69 /* 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 } 69 /* 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 }
70 }; 70 };
71 71
72 static const int command_count = 591; 72 static const int command_count = 592;