Created
September 20, 2012 15:17
-
-
Save saitoha/3756540 to your computer and use it in GitHub Desktop.
vimperator issue: "map - <something>" does not works
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff -ruN a/common/content/commands.js b/common/content/commands.js | |
| --- a/common/content/commands.js 2012-08-04 07:41:20.000000000 +0900 | |
| +++ b/common/content/commands.js 2012-09-21 00:09:47.000000000 +0900 | |
| @@ -703,7 +703,7 @@ | |
| liberator.echoerr("Error parsing arguments: " + arg); | |
| return null; | |
| } // if /^\s*-/ is NOT TRUE, "-" be quoted. | |
| - else if (!onlyArgumentsRemaining && /^-/.test(arg) && /^\s*-/.test(sub)) { | |
| + else if (!onlyArgumentsRemaining && /^-/.test(arg) && /^\s*-\S/.test(sub)) { | |
| liberator.echoerr("Invalid option: " + arg); | |
| return null; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment