diff --git a/modules/minimap/default.nix b/modules/minimap/default.nix new file mode 100644 index 0000000..0c6ef4a --- /dev/null +++ b/modules/minimap/default.nix @@ -0,0 +1,10 @@ +{ + pkgs, + lib, + config, + ... +}: { + imports = [ + ./minimap-vim.nix + ]; +} diff --git a/modules/minimap/minimap-vim.nix b/modules/minimap/minimap-vim.nix new file mode 100644 index 0000000..210c98e --- /dev/null +++ b/modules/minimap/minimap-vim.nix @@ -0,0 +1,19 @@ +{ + 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 = ["minimap-vim"]; + # TODO: figure out a way to import the code-minimap package from nixpkgs + }; +}