1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-06-15 03:25:23 +02:00

use argCount: "1" with :*unabbrev commands

This commit is contained in:
Doug Kearns
2008-12-10 17:02:54 +11:00
parent 90b2fba611
commit aec2c278c2
2 changed files with 8 additions and 1 deletions
+5 -1
View File
@@ -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,