mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
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.b731689e85
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 commit7777532ceb
. 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.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user