mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 23:37:59 +01:00
Minor consistency fixes.
This commit is contained in:
@@ -1278,7 +1278,7 @@ var Commands = Module("commands", {
|
|||||||
// TODO: Vim allows commands to be defined without {rep} if there are {attr}s
|
// TODO: Vim allows commands to be defined without {rep} if there are {attr}s
|
||||||
// specified - useful?
|
// specified - useful?
|
||||||
commands.add(["com[mand]"],
|
commands.add(["com[mand]"],
|
||||||
"List and define commands",
|
"List or define commands",
|
||||||
function (args) {
|
function (args) {
|
||||||
let cmd = args[0];
|
let cmd = args[0];
|
||||||
|
|
||||||
@@ -1499,7 +1499,7 @@ var Commands = Module("commands", {
|
|||||||
argCount: "0"
|
argCount: "0"
|
||||||
});
|
});
|
||||||
commands.add(["en[dif]", "fi"],
|
commands.add(["en[dif]", "fi"],
|
||||||
"Ends a string of :if/:elseif/:else conditionals",
|
"End a string of :if/:elseif/:else conditionals",
|
||||||
function (args) {},
|
function (args) {},
|
||||||
{
|
{
|
||||||
always: function (args) { io.sourcing.noExecute = pop("if"); },
|
always: function (args) { io.sourcing.noExecute = pop("if"); },
|
||||||
@@ -1507,7 +1507,7 @@ var Commands = Module("commands", {
|
|||||||
});
|
});
|
||||||
|
|
||||||
commands.add(["y[ank]"],
|
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) {
|
function (args) {
|
||||||
let cmd = /^:/.test(args[0]) ? args[0] : ":echo " + args[0];
|
let cmd = /^:/.test(args[0]) ? args[0] : ":echo " + args[0];
|
||||||
let res = commandline.withOutputToString(commands.execute, commands, cmd);
|
let res = commandline.withOutputToString(commands.execute, commands, cmd);
|
||||||
|
|||||||
@@ -353,7 +353,7 @@ var Highlights = Module("Highlight", {
|
|||||||
{ names: ["-append", "-a"], description: "Append new CSS to the existing value" },
|
{ names: ["-append", "-a"], description: "Append new CSS to the existing value" },
|
||||||
{
|
{
|
||||||
names: ["-link", "-l"],
|
names: ["-link", "-l"],
|
||||||
description: "Links this group to another",
|
description: "Link this group to another",
|
||||||
type: CommandOption.LIST,
|
type: CommandOption.LIST,
|
||||||
completer: function (context, args) {
|
completer: function (context, args) {
|
||||||
let group = args[0] && highlight.get(args[0]);
|
let group = args[0] && highlight.get(args[0]);
|
||||||
|
|||||||
@@ -55,7 +55,7 @@
|
|||||||
completion system customization.
|
completion system customization.
|
||||||
* The external editor can now be configured to open to a given
|
* The external editor can now be configured to open to a given
|
||||||
line number and column, used for opening source links and
|
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:
|
* Command changes:
|
||||||
- :viusage, :optionusage and :exusage were replaced with :listkeys,
|
- :viusage, :optionusage and :exusage were replaced with :listkeys,
|
||||||
:listoptions and :listcommands, providing more powerful and
|
:listoptions and :listcommands, providing more powerful and
|
||||||
|
|||||||
Reference in New Issue
Block a user