mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-09 14:45:58 +01:00
feat: configure minimap.vim
This commit is contained in:
parent
94b8414e1b
commit
caac3e5af4
2 changed files with 29 additions and 0 deletions
10
modules/minimap/default.nix
Normal file
10
modules/minimap/default.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./minimap-vim.nix
|
||||
];
|
||||
}
|
19
modules/minimap/minimap-vim.nix
Normal file
19
modules/minimap/minimap-vim.nix
Normal 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
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue