mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 07:48:00 +01:00
use argCount: "1" with :*unabbrev commands
This commit is contained in:
@@ -179,7 +179,11 @@ function Editor() //{{{
|
||||
|
||||
commands.add([ch ? ch + "una[bbrev]" : "una[bbreviate]"],
|
||||
"Remove an abbreviation" + modeDescription,
|
||||
function (args) { editor.removeAbbreviation(mode, args.string); });
|
||||
function (args) { editor.removeAbbreviation(mode, args.literalArg); },
|
||||
{
|
||||
argCount: "1",
|
||||
literal: 0
|
||||
});
|
||||
|
||||
commands.add([ch + "abc[lear]"],
|
||||
"Remove all abbreviations" + modeDescription,
|
||||
|
||||
Reference in New Issue
Block a user