mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-10 07:05:57 +01:00
23 lines
349 B
Nix
23 lines
349 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib;
|
|
with builtins; let
|
|
cfg = config.vim.notify.nvim-notify;
|
|
in {
|
|
options.vim.notify.nvim-notify = {
|
|
enable = mkOption {
|
|
type = types.bool;
|
|
description = "Enable animated notifications";
|
|
};
|
|
};
|
|
|
|
config =
|
|
mkIf cfg.enable
|
|
{
|
|
vim.startPlugins = ["nvim-notify"];
|
|
};
|
|
}
|