File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,23 @@ Syntax highlighting is done by pluggable highlighters:
1818[ 6 ] : highlighters/line.md
1919
2020
21+ Highlighter-independent settings
22+ --------------------------------
23+
24+ By default, all command lines are highlighted. However, it is possible to
25+ prevent command lines longer than a fixed number of characters from being
26+ highlighted by setting the variable ` ${ZSH_HIGHLIGHT_MAXLENGTH} ` to the maximum
27+ length (in characters) of command lines to be highlighter. This is useful when
28+ editing very long comand lines (for example, with the [ ` fned ` ] [ fned ] utility
29+ function). Example:
30+
31+ [ fned ] : http://zsh.sourceforge.net/Doc/Release/User-Contributions.html#index-zed
32+
33+ ``` zsh
34+ ZSH_HIGHLIGHT_MAXLENGTH=512
35+ ```
36+
37+
2138How to activate highlighters
2239----------------------------
2340
You can’t perform that action at this time.
0 commit comments