comparison src/ex_cmdidxs.h @ 24531:3bfec39ce31c v8.2.2805

patch 8.2.2805: Vim9: cannot use legacy syntax in Vim9 script Commit: https://github.com/vim/vim/commit/96cf4ba8fb96e5778192d2dab7458b9a7da0a49d Author: Bram Moolenaar <Bram@vim.org> Date: Sat Apr 24 14:15:41 2021 +0200 patch 8.2.2805: Vim9: cannot use legacy syntax in Vim9 script Problem: Vim9: cannot use legacy syntax in Vim9 script. Solution: Add the :legacy command.
author Bram Moolenaar <Bram@vim.org>
date Sat, 24 Apr 2021 14:30:04 +0200
parents 9f64c420f280
children 9c404d78d767
comparison
equal deleted inserted replaced
24530:51e01f7c2069 24531:3bfec39ce31c
15 /* h */ 181, 15 /* h */ 181,
16 /* i */ 190, 16 /* i */ 190,
17 /* j */ 209, 17 /* j */ 209,
18 /* k */ 211, 18 /* k */ 211,
19 /* l */ 216, 19 /* l */ 216,
20 /* m */ 278, 20 /* m */ 279,
21 /* n */ 296, 21 /* n */ 297,
22 /* o */ 316, 22 /* o */ 317,
23 /* p */ 328, 23 /* p */ 329,
24 /* q */ 367, 24 /* q */ 368,
25 /* r */ 370, 25 /* r */ 371,
26 /* s */ 390, 26 /* s */ 391,
27 /* t */ 459, 27 /* t */ 460,
28 /* u */ 504, 28 /* u */ 505,
29 /* v */ 515, 29 /* v */ 516,
30 /* w */ 536, 30 /* w */ 537,
31 /* x */ 550, 31 /* x */ 551,
32 /* y */ 560, 32 /* y */ 561,
33 /* z */ 561 33 /* z */ 562
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.
50 /* g */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 2, 0, 0, 4, 5, 0, 0, 0, 0 }, 50 /* g */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 2, 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, 0, 0, 0 }, 68 /* y */ { 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 } 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 = 576; 72 static const int command_count = 577;