neovim/runtime/lua/vim/_meta
zeertzjq 6d14f3ddab
vim-patch:9.0.2103: recursive callback may cause issues on some archs (#26013)
Problem:  recursive callback may cause issues on some archs
Solution: Decrease the limit drastically to 20

Recursive callback limit causes problems on some architectures

Since commit 47510f3d6598a1218958c03ed11337a43b73f48d we have a test
that causes a recursive popup callback function to be executed. However
it seems the current limit of 'maxfuncdepth' option value is still too
recursive for some 32bit architectures (e.g. 32bit ARM).

So instead of allowing a default limit of 100 (default value for
'maxfuncdepth'), let's reduce this limit to 20. I don't think there is a
use case where one would need such a high recursive callback limit and a
limit of 20 seems reasonable (although it is currently hard-coded).

closes: vim/vim#13495
closes: vim/vim#13502

2076463e38

Co-authored-by: Christian Brabandt <cb@256bit.org>
2023-11-13 06:33:34 +08:00
..
api_keysets.lua feat(extmarks): add 'invalidate' property to extmarks 2023-11-08 02:53:49 +01:00
api.lua Merge pull request #25767 from luukvbaal/signdel 2023-11-08 12:17:25 +01:00
base64.lua feat(stdlib): add vim.base64 module (#25843) 2023-10-31 09:15:32 -05:00
builtin_types.lua fix(builtin): fix incorrect optional fields for fn.sign_define 2023-08-30 07:51:26 +01:00
builtin.lua docs: update vim.schedule param name and type 2023-09-23 01:54:24 +10:00
diff.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
json.lua fix(meta): include vim.json 2023-09-22 23:02:45 +01:00
lpeg.lua fix(meta): add nil return types to lpeg functions 2023-09-26 09:43:44 +02:00
misc.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
mpack.lua fix: luacheck 2023-07-17 16:32:56 +01:00
options.lua vim-patch:9.0.2103: recursive callback may cause issues on some archs (#26013) 2023-11-13 06:33:34 +08:00
regex.lua docs: fix typos and other small fixes (#25005) 2023-09-14 12:05:27 +08:00
spell.lua docs: replace <pre> with ``` (#25136) 2023-09-14 08:23:01 -05:00
vimfn.lua vim-patch:8.2.4932: not easy to filter the output of maplist() 2023-11-09 21:34:04 +08:00