mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2025-12-12 11:36:20 +00:00
feat: nixvim refactor
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
{ lib, config, ... }:
|
||||
let
|
||||
cfg = config.presets.base.minimap;
|
||||
in
|
||||
{
|
||||
options.presets.base.minimap = {
|
||||
enable = lib.mkEnableOption "minimap";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
globals = {
|
||||
minimap_width = 10;
|
||||
minimap_auto_start = 1;
|
||||
minimap_auto_start_win_enter = 1;
|
||||
minimap_close_buftypes = [ "nofile" ];
|
||||
minimap_block_filetypes = [ "NvimTree" ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user