* docs: mdbook init
* Separate sub-options into their section
* docs: enable fold
* docs: merge core options into a single section
* doc generation: fix submodules index pages
* docs: add contributing section
* docs: rename 'core' group to 'Neovim Options'
docs: removed the index pages of empty sections
docs: remove obsolete 'mergeFunctionResults' function
* docs: use nix syntax highlighting
* docs: point to the new repo url
* docs: use recursive generation
docs: split submodules into subsections
* docs: fix contributing separator
docs: fix missing submodules docs
* Added simple flake template
* Added readme to template
* Updated readme to show how to use the template
* Formatting
* removed unused file from template
* Fixed template url and pkgs
* Formatting
The tests can be executed using `nix flake check`, they check that
modules can be built, and they execute in neovim without any errors.
This commit only implements tests for tokyonight-nvim upstream defaults
* nvim-lsp: Add settings for rust-analyzer
Because the settings are quite complex they are auto-generated. This
commit adds the script creating it & the generated options.
* Update flake.nix
Co-authored-by: Pedro Alves <pta2002@users.noreply.github.com>
* wrappers: Allow to customize the nixpkgs used for nixvim
This allows to pass overlays and other such modifications of nixpkgs.
* wrappers: Allow to pass a custom module to nixvim
This is useful to be able to take full advantage of the Nix module
system, with `imports` and `options`.
* README: Update the documentation on the standalone usage
The following information were out of date or incomplete:
- The `build` function has be changed to the `makeNixvim` function.
- `makeNixvimWithModule` has been introduced in order to allow more
customization.
- Added a full example using nixvim in a standalone flake
This represents a major rearchitecture for nixvim, so I'm leaving this up to track the progress for now, and to serve as a reference for any breaking changes during transition.
The main change is, of course, being able to use nixvim standalone. To do this, you should use the new build function, which takes in two arguments: the system architecture (e.g. x86_64-linux) and the configuration. For the new configuration, do not use the programs.nixvim. prefix.
For module development, the main change is that you should no longer prefix your modules with programs.nixvim..
You can now run `nix build '.#docs'` to build HTML documentation
documenting every single option on nixvim! Fortunately, thanks to
the 'description' field, most options are already documented, but
there are still a fair few that need documenting.
I will be taking care of those in the next few days. When those are
done, I will find a way to automatically rebuild documentation on every
repo push, and also add a PR hook requiring documentation.
Additionally, I will try to find a way to have per-page plugin docs.