1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 16:57:57 +01:00

allow _ in option names

This commit is contained in:
Doug Kearns
2007-10-18 11:32:08 +00:00
parent d0e7ffe22d
commit 16752d5da7

View File

@@ -1166,7 +1166,7 @@ function Commands() //{{{
}
// 1 2 3 4 5 6
var matches = args.match(/^\s*(no|inv)?([a-z]+)([?&!])?(([+-])?=(.*))?/);
var matches = args.match(/^\s*(no|inv)?([a-z_]+)([?&!])?(([+-])?=(.*))?/);
if (!matches)
{
vimperator.echoerr("E518: Unknown option: " + args);