1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 16:47:58 +01:00

Minor consistency fixes.

This commit is contained in:
Štěpán Němec
2010-12-30 23:01:23 +01:00
parent 696d2dd13f
commit 12cd63ff16
3 changed files with 5 additions and 5 deletions

View File

@@ -1278,7 +1278,7 @@ var Commands = Module("commands", {
// TODO: Vim allows commands to be defined without {rep} if there are {attr}s
// specified - useful?
commands.add(["com[mand]"],
"List and define commands",
"List or define commands",
function (args) {
let cmd = args[0];
@@ -1499,7 +1499,7 @@ var Commands = Module("commands", {
argCount: "0"
});
commands.add(["en[dif]", "fi"],
"Ends a string of :if/:elseif/:else conditionals",
"End a string of :if/:elseif/:else conditionals",
function (args) {},
{
always: function (args) { io.sourcing.noExecute = pop("if"); },
@@ -1507,7 +1507,7 @@ var Commands = Module("commands", {
});
commands.add(["y[ank]"],
"Yanks the output of the given command to the clipboard",
"Yank the output of the given command to the clipboard",
function (args) {
let cmd = /^:/.test(args[0]) ? args[0] : ":echo " + args[0];
let res = commandline.withOutputToString(commands.execute, commands, cmd);

View File

@@ -353,7 +353,7 @@ var Highlights = Module("Highlight", {
{ names: ["-append", "-a"], description: "Append new CSS to the existing value" },
{
names: ["-link", "-l"],
description: "Links this group to another",
description: "Link this group to another",
type: CommandOption.LIST,
completer: function (context, args) {
let group = args[0] && highlight.get(args[0]);

View File

@@ -55,7 +55,7 @@
completion system customization.
* The external editor can now be configured to open to a given
line number and column, used for opening source links and
editing input fields with <C-i>. See 'editor'.
editing input fields with <C-i>. See :h 'editor'.
* Command changes:
- :viusage, :optionusage and :exusage were replaced with :listkeys,
:listoptions and :listcommands, providing more powerful and