mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 03:38:00 +01:00
Fix :abbr with no argument (in future, will be less push happy).
This commit is contained in:
@@ -165,7 +165,7 @@ function Editor() //{{{
|
||||
function (args)
|
||||
{
|
||||
let [lhs, rhs] = args;
|
||||
if (lhs.match(/\W/))
|
||||
if (lhs && lhs.match(/\W/))
|
||||
{
|
||||
liberator.echoerr("E474: Invalid argument");
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user