neovim-flake/modules/minimap/minimap-vim.nix

22 lines
323 B
Nix
Raw Permalink Normal View History

2023-02-01 22:00:29 +01:00
{
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"
];
2023-02-01 22:00:29 +01:00
};
}