mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 19:07:58 +01:00
allow _ in option names
This commit is contained in:
@@ -1166,7 +1166,7 @@ function Commands() //{{{
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 1 2 3 4 5 6
|
// 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)
|
if (!matches)
|
||||||
{
|
{
|
||||||
vimperator.echoerr("E518: Unknown option: " + args);
|
vimperator.echoerr("E518: Unknown option: " + args);
|
||||||
|
|||||||
Reference in New Issue
Block a user