mirror of
https://github.com/neovim/neovim.git
synced 2026-02-01 09:34:29 +00:00
fix(lua): correct return value for on_key with no arguments (#25911)
This commit is contained in:
@@ -2438,6 +2438,12 @@ describe('lua stdlib', function()
|
||||
end)
|
||||
|
||||
it('allows removing on_key listeners', function()
|
||||
-- Create some unused namespaces
|
||||
meths.create_namespace('unused1')
|
||||
meths.create_namespace('unused2')
|
||||
meths.create_namespace('unused3')
|
||||
meths.create_namespace('unused4')
|
||||
|
||||
insert([[hello world]])
|
||||
|
||||
exec_lua [[
|
||||
|
||||
Reference in New Issue
Block a user