Isn't it that you have unescaped double quotes inside a JSON string? On Wed, May 2, 2018 at 5:08 PM, Christian Brabandt <[email protected]> wrote:
> Hi, > I am writing a small plugin, that captures some output from the terminal > and yanks it into a new window. Using the provided Terminal api > > However, I think I have found a bug. Under certain circumstances, Vim > errors out echoing E474 invalid argument. I did capture the error > message in a debugger trying to find why it happened and the cause was > in json_decode_item() (json.c:919) > > This line is causing it: > ,---- > | ]51;["call", "Tapi_Vpager", ["vpager", "@@ -14,17 +14,32 @@ > ESC=`printf "e"`"]] @@ -14,17 +14,32 @@ ESC=`printf "e"` > `---- > > I attach an archive that contains the plugin plus the generated output > file, that causes this issue. Simply catting the output file in Vims > terminal will cause the error. You must first source the plugin > vpager.vim first. > > Any idea? > > Best, > Christian > -- > Alles fließt und nichts bleibt. > -- Heraklit von Ephesus (540-480 v. Chr.) > > -- > -- > You received this message from the "vim_dev" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > > --- > You received this message because you are subscribed to the Google Groups > "vim_dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
