You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since we use a recursive descent parser for the vimscript implementation of maktaba#json#Parse without setting 'maxfuncdepth', we're subject to vim's default recursion depth and can only parse up to a depth of ~&maxfuncdepth/2.
Error detected while processing function maktaba#json#Parse..<SNR>110_ParsePartial..
(snip)<SNR>110_ParseListPartial..<SNR>110_Consume..maktaba#string#StripLeading..maktaba#ensure#IsString:
line 1:
E132: Function call depth is higher than 'maxfuncdepth'
We should bump 'maxfuncdepth' up to some very high number in maktaba#json#Parse and maktaba#json#Format and restore it after our recursion completes.
The text was updated successfully, but these errors were encountered:
Changes since 1.14.0:
* Implement maktaba#buffer#GetVisualSelection helper (#132).
* Implement maktaba#log#GetFormattedEntries and support 1-arg log
handler (see #204).
* Notify user for messages logged at WARN or above by default (#185).
* Fix Syscall.CallAsync failing for complex commands (#205).
* Preserve trailing slash in maktaba#path#Split and MakeRelative
(#137 and #175).
* Fix 'maxfuncdepth' error in maktaba#json#Parse corner case (#153).
Since we use a recursive descent parser for the vimscript implementation of
maktaba#json#Parse
without setting'maxfuncdepth'
, we're subject to vim's default recursion depth and can only parse up to a depth of ~&maxfuncdepth/2.We should bump
'maxfuncdepth'
up to some very high number inmaktaba#json#Parse
andmaktaba#json#Format
and restore it after our recursion completes.The text was updated successfully, but these errors were encountered: