diff options
author | zeertzjq <zeertzjq@outlook.com> | 2023-12-22 10:33:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-22 10:33:34 +0800 |
commit | 6700127b30d55e6ddf70495e7b886464172d7ac6 (patch) | |
tree | b3019d2d9e8661be8f18dc9c92ebf1f23bbf4150 /runtime/doc | |
parent | 2b3d1e18545ab9d2853f802c6d5adf54b5bf189c (diff) | |
download | rneovim-6700127b30d55e6ddf70495e7b886464172d7ac6.tar.gz rneovim-6700127b30d55e6ddf70495e7b886464172d7ac6.tar.bz2 rneovim-6700127b30d55e6ddf70495e7b886464172d7ac6.zip |
vim-patch:9.0.2183: Maximum callback depth is not configurable (#26703)
Problem: Maximum callback depth is not configurable.
Solution: Revert patch 9.0.2103. Set 'maxfuncdepth' in test.
fixes: vim/vim#13732
closes: vim/vim#13736
https://github.com/vim/vim/commit/fe583b1e5987fbfdb5f2141c133dbff9665ed301
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/message.txt | 2 | ||||
-rw-r--r-- | runtime/doc/options.txt | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/runtime/doc/message.txt b/runtime/doc/message.txt index 9f06e8c931..c3154fc372 100644 --- a/runtime/doc/message.txt +++ b/runtime/doc/message.txt @@ -127,8 +127,6 @@ This happens when an Ex command executes an Ex command that executes an Ex command, etc. The limit is 200 or the value of 'maxfuncdepth', whatever is larger. When it's more there probably is an endless loop. Probably a |:execute| or |:source| command is involved. -Can also happen with a recursive callback function (|channel-callback|). -A limit of 20 is used here. *E254* > Cannot allocate color {name} diff --git a/runtime/doc/options.txt b/runtime/doc/options.txt index a3723f7459..63f24c8bd4 100644 --- a/runtime/doc/options.txt +++ b/runtime/doc/options.txt @@ -4027,6 +4027,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) |