Bläddra i källkod

docs: Followup to the recent docs branch: clean up some internal cross-references.

pull/243/head
Daniel Shahaf 8 år sedan
förälder
incheckning
eb3715a56a
3 ändrade filer med 15 tillägg och 7 borttagningar
  1. +2
    -2
      README.md
  2. +5
    -4
      docs/highlighters.md
  3. +0
    -1
      highlighters/README.md
  4. +8
    -0
      highlighters/README.md

+ 2
- 2
README.md Visa fil

@ -45,5 +45,5 @@ How to tweak
------------ ------------
Syntax highlighting is done by pluggable highlighter scripts. See the Syntax highlighting is done by pluggable highlighter scripts. See the
[`highlighters` directory](./highlighters) for documentation and configuration
settings.
[documentation on highlighters](docs/highlighters.md) for details and
configuration settings.

+ 5
- 4
docs/highlighters.md Visa fil

@ -27,10 +27,11 @@ How to tweak highlighters
------------------------- -------------------------
Highlighters look up styles from the `ZSH_HIGHLIGHT_STYLES` associative array. Highlighters look up styles from the `ZSH_HIGHLIGHT_STYLES` associative array.
Navigate into each highlighter directory to see what styles (keys) it defines;
the syntax for values is the same as the syntax of "types of highlighting" of
the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)`
manual page][zshzle-Character-Highlighting].
Navigate into the [individual highlighters' documentation](highlighters/) to
see what styles (keys) each highlighter defines; the syntax for values is the
same as the syntax of "types of highlighting" of the zsh builtin
`$zle_highlight` array, which is documented in [the `zshzle(1)` manual
page][zshzle-Character-Highlighting].
[zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting [zshzle-Character-Highlighting]: http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting

+ 0
- 1
highlighters/README.md Visa fil

@ -1 +0,0 @@
../docs/highlighters.md

+ 8
- 0
highlighters/README.md Visa fil

@ -0,0 +1,8 @@
zsh-syntax-highlighting / highlighters
======================================
Navigate into the individual highlighters' documentation to see
what styles (`$ZSH_HIGHLIGHT_STYLES` keys) each highlighter defines.
Refer to the [documentation on highlighters](../docs/highlighters.md) for further
information.

Laddar…
Avbryt
Spara