diff --git a/content/buffer.js b/content/buffer.js index c44bbc21..e2fb7426 100644 --- a/content/buffer.js +++ b/content/buffer.js @@ -1322,7 +1322,7 @@ function Buffer() //{{{ // TODO: make that a helper function // TODO: save return value in v:shell_error var editor = options["editor"]; - var args = commands.parseArgs(editor, [], "*", true).arguments; + var args = commands.parseArgs(editor, [], "*", true); if (args.length < 1) { liberator.echoerr("No editor specified"); diff --git a/content/editor.js b/content/editor.js index 8e6071cd..aee4c8e3 100644 --- a/content/editor.js +++ b/content/editor.js @@ -810,7 +810,7 @@ function Editor() //{{{ return false; var editor = options["editor"]; - var args = commands.parseArgs(editor, [], "*", true).arguments; + var args = commands.parseArgs(editor, [], "*", true); if (args.length < 1) { liberator.echoerr("No editor specified");