diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-12-31 19:56:15 -0500 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2021-01-01 04:30:55 -0500 |
commit | f3c242c13cc9aaefd29f750d211fff76e1fada68 (patch) | |
tree | 5096f59f4d61c1493d37456fb8cb890f8a281d1e /scripts/genvimvim.lua | |
parent | cf3a8610172feec1fb8ab2863bdad69eb1296f28 (diff) | |
download | rneovim-f3c242c13cc9aaefd29f750d211fff76e1fada68.tar.gz rneovim-f3c242c13cc9aaefd29f750d211fff76e1fada68.tar.bz2 rneovim-f3c242c13cc9aaefd29f750d211fff76e1fada68.zip |
vim-patch:8.1.1241: Ex command info contains confusing information
Problem: Ex command info contains confusing information.
Solution: When using the NOTADR flag use ADDR_OTHER for the address type.
Cleanup code using NOTADR. Check for errors in
create_cmdidxs.vim. Adjust Makefile to see the errors.
https://github.com/vim/vim/commit/b731689e85b4153af7edc8f0a6b9f99d36d8b011
Use Lua's "assert()" to make an invalid command definition
a compilation error.
Misc changes:
Remove 'RESTRICT' flag.
Neovim does not support "restricted" mode
since commit 7777532cebcfa9abc5ab2c7beae77f386feed3ca.
TODO:
Do not generate files before Lua assertions
so that CMake always runs the generator script
if the previous build has an invalid command definition.
Diffstat (limited to 'scripts/genvimvim.lua')
-rw-r--r-- | scripts/genvimvim.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/genvimvim.lua b/scripts/genvimvim.lua index 806533f2ff..ccd5489fdc 100644 --- a/scripts/genvimvim.lua +++ b/scripts/genvimvim.lua @@ -55,7 +55,7 @@ end vimcmd_start = 'syn keyword vimCommand contained ' w(vimcmd_start) local prev_cmd = nil -for _, cmd_desc in ipairs(ex_cmds) do +for _, cmd_desc in ipairs(ex_cmds.cmds) do if lld.line_length > 850 then w('\n' .. vimcmd_start) end |