diff options
author | Christian Brabandt <cb@256bit.org> | 2023-10-15 09:56:16 +0200 |
---|---|---|
committer | Christian Brabandt <cb@256bit.org> | 2023-10-15 09:56:16 +0200 |
commit | 47510f3d6598a1218958c03ed11337a43b73f48d (patch) | |
tree | bbe51bf33ac367ac3a534d8f779d71c1d7e8011f /runtime/doc/options.txt | |
parent | 1ace49fb98fa93e2fcff421a5f7da1aa41c512ed (diff) |
patch 9.0.2030: no max callback recursion limitv9.0.2030
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: #13337
closes: #13339
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc/options.txt')
-rw-r--r-- | runtime/doc/options.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index 502e77ba1f..492c7da1ee 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -1,4 +1,4 @@ -*options.txt* For Vim version 9.0. Last change: 2023 Aug 15 +*options.txt* For Vim version 9.0. Last change: 2023 Oct 14 VIM REFERENCE MANUAL by Bram Moolenaar @@ -5485,6 +5485,7 @@ A jump table for the options with a short description can be found at |Q_op|. Increasing this limit above 200 also changes the maximum for Ex command recursion, see |E169|. See also |:function|. + Also used for maximum depth of callback functions. *'maxmapdepth'* *'mmd'* *E223* 'maxmapdepth' 'mmd' number (default 1000) |