This commit is contained in:
rycee 2024-03-15 18:48:28 +00:00
parent fabf809a43
commit 4d8989e3eb
1 changed files with 31 additions and 1 deletions

View File

@ -53579,6 +53579,36 @@ list of string</p>
]
</code></pre>
<p><span class="emphasis"><em>Declared by:</em></span></p>
<table border="0" summary="Simple list" class="simplelist">
<tr><td>
<code class="filename"><a class="filename" href="https://github.com/nix-community/home-manager/blob/master/modules/programs/zsh.nix" target="_top">
&lt;home-manager/modules/programs/zsh.nix&gt;
</a></code>
</td></tr>
</table>
</dd>
<dt>
<span class="term">
<a id="opt-programs.zsh.syntaxHighlighting.patterns"></a><a class="term" href="options.xhtml#opt-programs.zsh.syntaxHighlighting.patterns"><code class="option">programs.zsh.syntaxHighlighting.patterns</code>
</a>
</span>
</dt>
<dd>
<p>Custom syntax highlighting for user-defined patterns.
Reference: <a class="link" href="https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/pattern.md" target="_top">https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/pattern.md</a></p>
<p><span class="emphasis"><em>Type:</em></span>
attribute set of string</p>
<p><span class="emphasis"><em>Default:</em></span>
<code class="literal">{ }</code></p>
<p><span class="emphasis"><em>Example:</em></span></p><pre><code class="programlisting">{
&quot;rm -rf *&quot; = &quot;fg=white,bold,bg=red&quot;;
}
</code></pre>
<p><span class="emphasis"><em>Declared by:</em></span></p>
<table border="0" summary="Simple list" class="simplelist">
<tr><td>
@ -53596,7 +53626,7 @@ list of string</p>
</dt>
<dd>
<p>Custom styles for syntax highlighting.
See each highlighters options: <a class="link" href="https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters.md" target="_top">https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters.md</a></p>
See each highlighter style option: <a class="link" href="https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md" target="_top">https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md</a></p>
<p><span class="emphasis"><em>Type:</em></span>
attribute set of string</p>