mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-01 19:11:15 +00:00
18 lines
220 B
Nix
18 lines
220 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib) mkIf;
|
|
|
|
cfg = config.vim.minimap.minimap-vim;
|
|
in {
|
|
config = mkIf cfg.enable {
|
|
vim.startPlugins = [
|
|
pkgs.code-minimap
|
|
"minimap-vim"
|
|
];
|
|
};
|
|
}
|