mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-22 02:59:49 +01:00
22 lines
653 B
Markdown
22 lines
653 B
Markdown
# Custom Neovim Package {#ch-custom-package}
|
|
|
|
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.
|
|
|
|
```nix
|
|
{inputs, pkgs, ...}: {
|
|
# using the neovim-nightly overlay
|
|
vim.package = inputs.neovim-overlay.packages.${pkgs.system}.neovim;
|
|
}
|
|
```
|
|
|
|
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.
|
|
|
|
```nix
|
|
{ pkgs, ...}: {
|
|
# using the neovim-nightly overlay
|
|
vim.package = pkgs.neovim-unwrapped;
|
|
}
|
|
```
|