mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-01-30 09:47:13 +08:00
docs: Change highlighters' URL indexes from numbers to labels
This commit is contained in:
parent
6e0e950154
commit
f6a22fa842
@ -3,19 +3,19 @@ zsh-syntax-highlighting / highlighters
|
|||||||
|
|
||||||
Syntax highlighting is done by pluggable highlighters:
|
Syntax highlighting is done by pluggable highlighters:
|
||||||
|
|
||||||
* `main` - the base highlighter, and the only one [active by default][1].
|
* `main` - the base highlighter, and the only one [active by default][main].
|
||||||
* `brackets` - [matches brackets][2] and parenthesis.
|
* `brackets` - [matches brackets][brackets] and parenthesis.
|
||||||
* `pattern` - matches [user-defined patterns][3].
|
* `pattern` - matches [user-defined patterns][pattern].
|
||||||
* `cursor` - matches [the cursor position][4].
|
* `cursor` - matches [the cursor position][cursor].
|
||||||
* `root` - highlights the whole command line [if the current user is root][5].
|
* `root` - highlights the whole command line [if the current user is root][root].
|
||||||
* `line` - applied to [the whole command line][6].
|
* `line` - applied to [the whole command line][line].
|
||||||
|
|
||||||
[1]: highlighters/main.md
|
[main]: highlighters/main.md
|
||||||
[2]: highlighters/brackets.md
|
[brackets]: highlighters/brackets.md
|
||||||
[3]: highlighters/pattern.md
|
[pattern]: highlighters/pattern.md
|
||||||
[4]: highlighters/cursor.md
|
[cursor]: highlighters/cursor.md
|
||||||
[5]: highlighters/root.md
|
[root]: highlighters/root.md
|
||||||
[6]: highlighters/line.md
|
[line]: highlighters/line.md
|
||||||
|
|
||||||
|
|
||||||
Highlighter-independent settings
|
Highlighter-independent settings
|
||||||
|
Loading…
Reference in New Issue
Block a user