2023-02-01 19:11:37 +00:00
|
|
|
<refentry xmlns="http://docbook.org/ns/docbook"
|
|
|
|
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
|
|
xmlns:xi="http://www.w3.org/2001/XInclude">
|
|
|
|
<refmeta>
|
2023-02-06 16:20:24 +00:00
|
|
|
<refentrytitle>neovim-flake configuration</refentrytitle>
|
2023-02-01 19:11:37 +00:00
|
|
|
<manvolnum>5</manvolnum>
|
2023-02-06 16:20:24 +00:00
|
|
|
<refmiscinfo class="source">neovim-flake</refmiscinfo>
|
|
|
|
<!-- <refmiscinfo class="version"><xi:include href="version.txt" parse="text"/></refmiscinfo> -->
|
2023-02-01 19:11:37 +00:00
|
|
|
</refmeta>
|
|
|
|
<refnamediv>
|
2023-02-06 16:20:24 +00:00
|
|
|
<refname>neovim configuration</refname>
|
|
|
|
<refpurpose>neovim-flake configuration specification</refpurpose>
|
2023-02-01 19:11:37 +00:00
|
|
|
</refnamediv>
|
2023-02-06 16:20:24 +00:00
|
|
|
<refsection>
|
|
|
|
<title>Description</title>
|
|
|
|
<para>
|
|
|
|
Custom configuration is done with the neovim-flake.lib.neovimConfiguration function. It takes in the configuration as a module.
|
|
|
|
<programlisting>
|
|
|
|
neovim-flake.lib.neovimConfiguration {
|
|
|
|
inherit pkgs;
|
|
|
|
modules = [{config = xxx;}];
|
|
|
|
};
|
|
|
|
</programlisting>
|
|
|
|
The output of the configuration function is an attrset.
|
|
|
|
</para>
|
|
|
|
<programlisting>
|
|
|
|
{
|
|
|
|
options = "The options that were available to configure";
|
|
|
|
config = "The outputted configuration";
|
|
|
|
pkgs = "The package set used to evaluate the module";
|
|
|
|
neovim = "The built neovim package";
|
|
|
|
}
|
|
|
|
</programlisting>
|
|
|
|
</refsection>
|
2023-02-01 19:11:37 +00:00
|
|
|
<refsection>
|
|
|
|
<title>Options</title>
|
|
|
|
<para>
|
2023-02-06 16:20:24 +00:00
|
|
|
You can use the following options in your neovim configuration.
|
2023-02-01 19:11:37 +00:00
|
|
|
</para>
|
2023-02-06 16:20:24 +00:00
|
|
|
<xi:include href="./nmd-result/neovim-flake-options.xml"/>
|
2023-02-01 19:11:37 +00:00
|
|
|
</refsection>
|
2023-02-06 18:10:37 +00:00
|
|
|
</refentry>
|