mirror of
https://github.com/neovim/neovim.git
synced 2025-10-22 17:11:49 +00:00
fixup: update test/functional/lua/vim_spec.lua
Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
This commit is contained in:
@@ -794,7 +794,7 @@ describe('lua stdlib', function()
|
|||||||
pcall_err(exec_lua, "vim.fn.nvim_get_current_line()"))
|
pcall_err(exec_lua, "vim.fn.nvim_get_current_line()"))
|
||||||
end)
|
end)
|
||||||
|
|
||||||
it('vim.fn can be called in fast events (if function is allowed)', function()
|
it('vim.fn is allowed in "fast" context by some functions #18306', function()
|
||||||
exec_lua([[
|
exec_lua([[
|
||||||
local timer = vim.loop.new_timer()
|
local timer = vim.loop.new_timer()
|
||||||
timer:start(0, 0, function()
|
timer:start(0, 0, function()
|
||||||
|
Reference in New Issue
Block a user