feat: configure minimap.vim
This commit is contained in:
parent
94b8414e1b
commit
caac3e5af4
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./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
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue