From 16752d5da7a6e9538179fafe7eda406c67e3637e Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Thu, 18 Oct 2007 11:32:08 +0000 Subject: [PATCH] allow _ in option names --- content/commands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/commands.js b/content/commands.js index c73b11cd..24ac8959 100644 --- a/content/commands.js +++ b/content/commands.js @@ -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);