mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-02-27 10:25:32 +08:00
main highlighter docs: Give examples of styles.
This commit is contained in:
parent
555e142e66
commit
4f5a0fe60b
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user