mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 19:38:20 +00:00
@@ -533,7 +533,7 @@ describe('API', function()
|
||||
nvim("notify", "hello world", 2, {})
|
||||
end)
|
||||
|
||||
it('can be overriden', function()
|
||||
it('can be overridden', function()
|
||||
command("lua vim.notify = function(...) return 42 end")
|
||||
eq(42, meths.exec_lua("return vim.notify('Hello world')", {}))
|
||||
nvim("notify", "hello world", 4, {})
|
||||
|
Reference in New Issue
Block a user