diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-05-24 23:00:18 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-05-24 23:00:18 +0200 |
commit | 822ba24743af9ee1b5e7f656a7a61a38f3638bca (patch) | |
tree | 7fb853a5f43c2d2682b4c9fd55a0e257e95d2446 /src/ex_cmdidxs.h | |
parent | f7271e831614d15d173c7f562cc26f48c2554ce9 (diff) | |
download | vim-git-822ba24743af9ee1b5e7f656a7a61a38f3638bca.tar.gz |
patch 8.2.0818: Vim9: using a discovery phase doesn't work wellv8.2.0818
Problem: Vim9: using a discovery phase doesn't work well.
Solution: Remove the discovery phase, instead compile a function only when
it is used. Add :defcompile to compile def functions earlier.
Diffstat (limited to 'src/ex_cmdidxs.h')
-rw-r--r-- | src/ex_cmdidxs.h | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/src/ex_cmdidxs.h b/src/ex_cmdidxs.h index 790cbf4b5..53081d069 100644 --- a/src/ex_cmdidxs.h +++ b/src/ex_cmdidxs.h @@ -9,28 +9,28 @@ static const unsigned short cmdidxs1[26] = /* b */ 19, /* c */ 42, /* d */ 108, - /* e */ 132, - /* f */ 155, - /* g */ 171, - /* h */ 177, - /* i */ 186, - /* j */ 205, - /* k */ 207, - /* l */ 212, - /* m */ 274, - /* n */ 292, - /* o */ 312, - /* p */ 324, - /* q */ 363, - /* r */ 366, - /* s */ 386, - /* t */ 455, - /* u */ 500, - /* v */ 511, - /* w */ 530, - /* x */ 544, - /* y */ 554, - /* z */ 555 + /* e */ 133, + /* f */ 156, + /* g */ 172, + /* h */ 178, + /* i */ 187, + /* j */ 206, + /* k */ 208, + /* l */ 213, + /* m */ 275, + /* n */ 293, + /* o */ 313, + /* p */ 325, + /* q */ 364, + /* r */ 367, + /* s */ 387, + /* t */ 456, + /* u */ 501, + /* v */ 512, + /* w */ 531, + /* x */ 545, + /* y */ 555, + /* z */ 556 }; /* @@ -44,7 +44,7 @@ static const unsigned char cmdidxs2[26][26] = /* a */ { 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 5, 6, 0, 0, 0, 7, 15, 0, 16, 0, 0, 0, 0, 0 }, /* b */ { 2, 0, 0, 4, 5, 7, 0, 0, 0, 0, 0, 8, 9, 10, 11, 12, 0, 13, 0, 0, 0, 0, 22, 0, 0, 0 }, /* c */ { 3, 12, 16, 18, 20, 22, 25, 0, 0, 0, 0, 33, 37, 40, 46, 56, 58, 59, 60, 0, 62, 0, 65, 0, 0, 0 }, - /* d */ { 0, 0, 0, 0, 0, 0, 0, 0, 7, 17, 0, 18, 0, 0, 19, 0, 0, 21, 22, 0, 0, 0, 0, 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 }, /* e */ { 1, 0, 2, 0, 0, 0, 0, 0, 0, 0, 0, 7, 9, 10, 0, 0, 0, 0, 0, 0, 0, 17, 0, 18, 0, 0 }, /* f */ { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 9, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0 }, /* 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 }, @@ -69,4 +69,4 @@ static const unsigned char cmdidxs2[26][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 = 568; +static const int command_count = 569; |