mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +00:00
feat(lua): enable stack traces in error output (#16228)
This commit is contained in:
@@ -605,7 +605,7 @@ do
|
||||
function vim.validate(opt)
|
||||
local ok, err_msg = is_valid(opt)
|
||||
if not ok then
|
||||
error(debug.traceback(err_msg, 2), 2)
|
||||
error(err_msg, 2)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user