mirror of
https://github.com/neovim/neovim.git
synced 2025-11-17 15:51:32 +00:00
Problem: no max callback recursion limit
Solution: bail out, if max call recursion for callback functions
has been reached.
This checks the 'maxfuncdepth' setting and throws E169 when a callback
function recursively calls itself.
closes: vim/vim#13337
closes: vim/vim#13339
47510f3d65
Co-authored-by: Christian Brabandt <cb@256bit.org>