mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-28 14:12:27 +01:00
add a default string for the RHS of programmatically defined user mappings in
:map list output
This commit is contained in:
@@ -431,9 +431,8 @@ liberator.Mappings = function () //{{{
|
||||
{
|
||||
list += "<tr>";
|
||||
list += "<td> " + modeSign + " " + liberator.util.escapeHTML(maps[i].names[j]) + "</td>";
|
||||
if (maps[i].rhs)
|
||||
list += "<td> " + (maps[i].noremap ? "*" : " ") + "</td>"
|
||||
+ "<td>" + liberator.util.escapeHTML(maps[i].rhs) + "</td>";
|
||||
list += "<td> " + (maps[i].noremap ? "*" : " ") + "</td>";
|
||||
list += "<td>" + liberator.util.escapeHTML(maps[i].rhs || "function () { ... }") + "</td>";
|
||||
list += "</tr>";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user