main highlighter docs: Give examples of styles.

This commit is contained in:
Daniel Shahaf 2015-09-10 19:44:19 +00:00
parent 555e142e66
commit 4f5a0fe60b

View File

@ -35,15 +35,15 @@ This highlighter defines the following styles:
* `path` - paths * `path` - paths
* `path_prefix` - path prefixes * `path_prefix` - path prefixes
* `path_approx` - approximated paths * `path_approx` - approximated paths
* `globbing` - globbing expressions * `globbing` - globbing expressions (`*.txt`)
* `history-expansion` - history expansion expressions * `history-expansion` - history expansion expressions (`!foo` and `^foo^bar`)
* `single-hyphen-option` - single hyphen options * `single-hyphen-option` - single hyphen options (-o)
* `double-hyphen-option` - double hyphen options * `double-hyphen-option` - double hyphen options (--option)
* `back-quoted-argument` - backquoted expressions * `back-quoted-argument` - backquoted expressions (`` `foo` ``)
* `single-quoted-argument` - single quoted arguments * `single-quoted-argument` - single quoted arguments (`` 'foo' ``)
* `double-quoted-argument` - double quoted arguments * `double-quoted-argument` - double quoted arguments (`` "foo" ``)
* `dollar-double-quoted-argument` - dollar double quoted arguments * `dollar-double-quoted-argument` - dollar double quoted arguments ($foo inside "")
* `back-double-quoted-argument` - back double quoted arguments * `back-double-quoted-argument` - back double quoted arguments (\x inside "")
* `assign` - variable assignments * `assign` - variable assignments
* `default` - parts of the buffer that do not match anything * `default` - parts of the buffer that do not match anything