mirror of
https://github.com/neovim/neovim.git
synced 2025-12-10 08:32:42 +00:00
For many small/simple functions (like those found in shared.lua), the runtime of vim.validate can far exceed the runtime of the function itself. Add an "overload" to vim.validate that uses a simple assertion pattern, rather than parsing a full "validation spec".