feat: configure minimap.vim

This commit is contained in:
NotAShelf 2023-02-02 00:00:29 +03:00
parent 94b8414e1b
commit caac3e5af4
No known key found for this signature in database
GPG key ID: 5B5C8895F28445F1
2 changed files with 29 additions and 0 deletions

View file

@ -0,0 +1,10 @@
{
pkgs,
lib,
config,
...
}: {
imports = [
./minimap-vim.nix
];
}

View file

@ -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
};
}