nvf/modules/plugins/utility/direnv/config.nix
2025-03-05 03:13:40 +03:00

13 lines
171 B
Nix

{
config,
lib,
...
}: let
inherit (lib.modules) mkIf;
cfg = config.vim.utility.direnv;
in {
vim = mkIf cfg.enable {
startPlugins = ["direnv-vim"];
};
}