docs/hacking: add contributing guidelines

This commit is contained in:
raf 2023-09-27 16:06:12 +03:00
commit ff2102be96
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
4 changed files with 398 additions and 8 deletions

View file

@ -14,7 +14,8 @@
<refsection>
<title>Description</title>
<para>
Custom configuration is done with the neovim-flake.lib.neovimConfiguration function. It takes in the configuration as a module.
Custom configuration is done with the neovim-flake.lib.neovimConfiguration if home-manager module is not in use.
It takes in the configuration as a module.
<programlisting>
neovim-flake.lib.neovimConfiguration {
inherit pkgs;
@ -31,6 +32,8 @@
neovim = "The built neovim package";
}
</programlisting>
In case of the home-manager module, all options will be available under programs.neovim-flake once the module has
been imported from the flake inputs.
</refsection>
<refsection>
<title>Options</title>