mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 22:08:00 +01:00
* renamed shortHelp -> decription
* refactored abbreviation and mapping commands (actually 200 LOC less now :)
This commit is contained in:
@@ -134,7 +134,7 @@ vimperator.util = { //{{{
|
||||
|
||||
var ret = "";
|
||||
var longHelp = false;
|
||||
if ((command.help && command.shortHelp) && (command.help.length + command.shortHelp.length) > 50)
|
||||
if ((command.help && command.description) && (command.help.length + command.description.length) > 50)
|
||||
longHelp = true;
|
||||
|
||||
// the tags which are printed on the top right
|
||||
@@ -162,7 +162,7 @@ vimperator.util = { //{{{
|
||||
// the actual help text
|
||||
if (command.shortHelp)
|
||||
{
|
||||
ret += command.shortHelp + "."; // the help description
|
||||
ret += command.description + "."; // the help description
|
||||
if (extraHelp)
|
||||
ret += " +\n" + extraHelp;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user