mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-02 11:31:15 +00:00
22 lines
323 B
Nix
22 lines
323 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib;
|
|
with builtins; let
|
|
cfg = config.vim.minimap.minimap-vim;
|
|
in {
|
|
options.vim.minimap.minimap-vim = {
|
|
enable = mkEnableOption "Enable minimap-vim plugin";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
vim.startPlugins = [
|
|
pkgs.code-minimap
|
|
"minimap-vim"
|
|
];
|
|
};
|
|
}
|