This commit is contained in:
ncfavier 2023-05-20 15:23:04 +00:00
parent 65cdc516fc
commit 1babdc4cb0

View file

@ -3131,12 +3131,19 @@ for a list of available options.</p><p><span class="emphasis"><em>Type:</em></sp
<code class="filename">$XDG_CONFIG_HOME/helix/languages.toml</code>.
</p><p>
See <a class="link" href="https://docs.helix-editor.com/languages.html" target="_top">https://docs.helix-editor.com/languages.html</a>
for more information.</p><p><span class="emphasis"><em>Type:</em></span> list of (TOML value)</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">[ ]</code></p><p><span class="emphasis"><em>Example:</em></span> </p><pre class="programlisting">[
{
auto-format = false;
for more information.</p><p><span class="emphasis"><em>Type:</em></span> (TOML value) or (list of (TOML value)) convertible to it</p><p><span class="emphasis"><em>Default:</em></span> <code class="literal">{ }</code></p><p><span class="emphasis"><em>Example:</em></span> </p><pre class="programlisting">{
# the language-server option currently requires helix from the master branch at https://github.com/helix-editor/helix/
language-server.typescript-language-server = with pkgs.nodePackages; {
command = "${typescript-language-server}/bin/typescript-language-server";
args = [ "--stdio" "--tsserver-path=${typescript}/lib/node_modules/typescript/lib" ];
};
language = [{
name = "rust";
}
]</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/helix.nix#blob-path" target="_top">
auto-format = false;
}];
}
</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/helix.nix#blob-path" target="_top">
&lt;home-manager/modules/programs/helix.nix&gt;
</a></code></td></tr></table></dd><dt><span class="term"><a id="opt-programs.helix.settings"></a><a class="term" href="options.html#opt-programs.helix.settings"><code class="option">programs.helix.settings</code></a></span></dt><dd><p>Configuration written to
<code class="filename">$XDG_CONFIG_HOME/helix/config.toml</code>.