mirror of
https://github.com/neovim/neovim.git
synced 2024-09-17 20:58:20 -04:00
fix(gen_vimvim): correctly add aliases to vimAutoEvent (#23429)
close #23424
This commit is contained in:
parent
22170efb47
commit
86c9d8b53c
@ -112,13 +112,12 @@ for _, au in ipairs(auevents.events) do
|
||||
w(' ' .. au)
|
||||
end
|
||||
end
|
||||
for au, _ in pairs(auevents.aliases) do
|
||||
if not auevents.nvim_specific[au] then
|
||||
if lld.line_length > 850 then
|
||||
w('\n' .. vimau_start)
|
||||
end
|
||||
w(' ' .. au)
|
||||
for _, au in pairs(auevents.aliases) do
|
||||
if lld.line_length > 850 then
|
||||
w('\n' .. vimau_start)
|
||||
end
|
||||
-- au[1] is aliased to au[2]
|
||||
w(' ' .. au[1])
|
||||
end
|
||||
|
||||
local nvimau_start = 'syn keyword nvimAutoEvent contained '
|
||||
|
Loading…
Reference in New Issue
Block a user