From 9e036e0b0c3f8017613e3ce81f7d7441043b5585 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Tue, 25 Feb 2020 17:37:46 +0000 Subject: [PATCH] 'main': Document the second meaning of the 'comment' style. --- docs/highlighters/main.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/highlighters/main.md b/docs/highlighters/main.md index 43f6082..1566fa4 100644 --- a/docs/highlighters/main.md +++ b/docs/highlighters/main.md @@ -58,6 +58,7 @@ This highlighter defines the following styles: * `assign` - parameter assignments (`x=foo` and `x=( )`) * `redirection` - redirection operators (`<`, `>`, etc) * `comment` - comments, when `setopt INTERACTIVE_COMMENTS` is in effect (`echo # foo`) +* `comment` - elided parameters in command position (`$x ls` when `$x` is unset or empty) * `named-fd` - named file descriptor (`echo foo {fd}>&2`) * `arg0` - a command word other than one of those enumerated above (other than a command, precommand, alias, function, or shell builtin command). * `default` - everything else