mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 07:52:27 +01:00
allow for option names with underscores
This commit is contained in:
@@ -1027,7 +1027,7 @@ function Commands() //{{{
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// 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