mirror of
https://github.com/neovim/neovim.git
synced 2024-12-22 04:05:09 -07:00
398201cfab
Can be reproduced with a script like this: -- in some lua file vim.fn.timer_start(10, function() error("uh....") end) -- will cause neovim to crash with the following error. PANIC: unprotected error in call to Lua API (nlua_CFunction_func_call failed.) After this, it will instead print the error message from the top of the stack, like so. tmp/error_nvim.lua:10: uh... Also added an example test. Previously this test caused the embedded nvim to panic. |
||
---|---|---|
.. | ||
api_spec.lua | ||
buffer_updates_spec.lua | ||
commands_spec.lua | ||
loop_spec.lua | ||
luaeval_spec.lua | ||
overrides_spec.lua | ||
treesitter_spec.lua | ||
uri_spec.lua | ||
vim_spec.lua |