1
0
Fork 0
mirror of https://github.com/NotAShelf/neovim-flake.git synced 2024-12-28 06:09:48 +01:00
neovim-flake/docs/manual/custom-package.md

13 lines
553 B
Markdown
Raw Normal View History

2023-12-09 20:03:58 +01:00
# Custom Neovim Package {#ch-custom-package}
2023-08-02 08:53:07 +02:00
As of v0.5, you may now specify the neovim package that will be wrapped with your configuration. This is done with the `vim.package` option.
2023-12-09 20:03:58 +01:00
```nix
2023-08-02 08:53:07 +02:00
{inputs, pkgs, ...}: {
# using the neovim-nightly overlay
config.vim.package = inputs.neovim-overlay.packages.${pkgs.system}.neovim;
}
2023-12-09 20:03:58 +01:00
```
2023-08-02 08:53:07 +02:00
The neovim-nightly-overlay always exposes an unwrapped package. If using a different source, you are highly recommended to get an "unwrapped" version of the neovim package,similar to `neovim-unwrapped` in nixpkgs.