Consider the following script:
vim -u NONE --cmd 'let l=[]' --cmd 'call add(l, l)' --cmd 'echo jsonencode(l)'
This will echo [[]]
, but actually it should error out because recursive container cannot be represented in JSON.
—
Reply to this email directly or view it on GitHub.
Closed #586.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
seems to be fixed.