mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-07 04:53:34 +02:00
Fix some of the "typo fixes" and a few more typos.
This commit is contained in:
@@ -1276,8 +1276,8 @@ const Commands = Module("commands", {
|
|||||||
args["-javascript"] ? completion.javascript(context) : completion.ex(context);
|
args["-javascript"] ? completion.javascript(context) : completion.ex(context);
|
||||||
},
|
},
|
||||||
options: [
|
options: [
|
||||||
{ names: ["-bang", "-b"], description: "Command may be proceeded by a !" },
|
{ names: ["-bang", "-b"], description: "Command may be followed by a !" },
|
||||||
{ names: ["-count", "-c"], description: "Command may be proceeded by a count" },
|
{ names: ["-count", "-c"], description: "Command may be preceded by a count" },
|
||||||
{
|
{
|
||||||
// TODO: "E180: invalid complete value: " + arg
|
// TODO: "E180: invalid complete value: " + arg
|
||||||
names: ["-complete", "-C"],
|
names: ["-complete", "-C"],
|
||||||
|
|||||||
@@ -226,7 +226,7 @@ const Mappings = Module("mappings", {
|
|||||||
keys = keys.map(this._expandLeader);
|
keys = keys.map(this._expandLeader);
|
||||||
extra = extra || {};
|
extra = extra || {};
|
||||||
extra.user = true;
|
extra.user = true;
|
||||||
let map = Map(modes, keys, description || "User defined mapping", action, extra);
|
let map = Map(modes, keys, description || "User-defined mapping", action, extra);
|
||||||
|
|
||||||
// remove all old mappings to this key sequence
|
// remove all old mappings to this key sequence
|
||||||
for (let [, name] in Iterator(map.names)) {
|
for (let [, name] in Iterator(map.names)) {
|
||||||
@@ -439,7 +439,7 @@ const Mappings = Module("mappings", {
|
|||||||
{
|
{
|
||||||
names: ["-description", "-d"],
|
names: ["-description", "-d"],
|
||||||
description: "A description of this mapping",
|
description: "A description of this mapping",
|
||||||
default: "User defined mapping",
|
default: "User-defined mapping",
|
||||||
type: CommandOption.STRING
|
type: CommandOption.STRING
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ let ValueError = Class("ValueError", Error);
|
|||||||
* privateData - see {@link Option#privateData}
|
* privateData - see {@link Option#privateData}
|
||||||
* scope - see {@link Option#scope}
|
* scope - see {@link Option#scope}
|
||||||
* setter - see {@link Option#setter}
|
* setter - see {@link Option#setter}
|
||||||
* vaildator - see {@link Option#validator}
|
* validator - see {@link Option#validator}
|
||||||
* @optional
|
* @optional
|
||||||
* @private
|
* @private
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user