From 9ef16288f0d172d802af9c426b88ec622e2b20be Mon Sep 17 00:00:00 2001 From: anekos Date: Tue, 10 Feb 2009 11:31:29 +0900 Subject: [PATCH] Fix: ':bmark' cannot bookmarks /['"]/ included URL. --- vimperator/content/bookmarks.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vimperator/content/bookmarks.js b/vimperator/content/bookmarks.js index f099b36e..0d318a2d 100644 --- a/vimperator/content/bookmarks.js +++ b/vimperator/content/bookmarks.js @@ -347,7 +347,7 @@ function Bookmarks() //{{{ "Add a bookmark", function (args) { - let url = args.length == 0 ? buffer.URL : args[0]; + let url = args.literalArg || buffer.URL; let title = args["-title"] || (args.length == 0 ? buffer.title : null); let keyword = args["-keyword"] || null; let tags = args["-tags"] || []; @@ -363,6 +363,7 @@ function Bookmarks() //{{{ { argCount: "?", bang: true, + literal: 0, completer: function (context, args) { if (!args.bang)