From 4f5a0fe60b96976caf714db502d893a982ec3bd1 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Thu, 10 Sep 2015 19:44:19 +0000 Subject: [PATCH] main highlighter docs: Give examples of styles. --- highlighters/main/README.md | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/highlighters/main/README.md b/highlighters/main/README.md index 4de2c15..7934769 100644 --- a/highlighters/main/README.md +++ b/highlighters/main/README.md @@ -35,15 +35,15 @@ This highlighter defines the following styles: * `path` - paths * `path_prefix` - path prefixes * `path_approx` - approximated paths -* `globbing` - globbing expressions -* `history-expansion` - history expansion expressions -* `single-hyphen-option` - single hyphen options -* `double-hyphen-option` - double hyphen options -* `back-quoted-argument` - backquoted expressions -* `single-quoted-argument` - single quoted arguments -* `double-quoted-argument` - double quoted arguments -* `dollar-double-quoted-argument` - dollar double quoted arguments -* `back-double-quoted-argument` - back double quoted arguments +* `globbing` - globbing expressions (`*.txt`) +* `history-expansion` - history expansion expressions (`!foo` and `^foo^bar`) +* `single-hyphen-option` - single hyphen options (-o) +* `double-hyphen-option` - double hyphen options (--option) +* `back-quoted-argument` - backquoted expressions (`` `foo` ``) +* `single-quoted-argument` - single quoted arguments (`` 'foo' ``) +* `double-quoted-argument` - double quoted arguments (`` "foo" ``) +* `dollar-double-quoted-argument` - dollar double quoted arguments ($foo inside "") +* `back-double-quoted-argument` - back double quoted arguments (\x inside "") * `assign` - variable assignments * `default` - parts of the buffer that do not match anything