mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-24 10:14:03 -05:00
plugins/mini-map: init
This commit is contained in:
committed by
Austin Horstman
parent
a412c12e81
commit
e948015920
@@ -0,0 +1,26 @@
|
||||
{ lib, ... }:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
name = "mini-map";
|
||||
moduleName = "mini.map";
|
||||
|
||||
maintainers = [ lib.maintainers.HeitorAugustoLN ];
|
||||
|
||||
settingsExample = {
|
||||
integrations = lib.nixvim.nestedLiteralLua "nil";
|
||||
|
||||
symbols = {
|
||||
encode = lib.nixvim.nestedLiteralLua "nil";
|
||||
scroll_line = "█";
|
||||
scroll_view = "┃";
|
||||
};
|
||||
|
||||
window = {
|
||||
focusable = false;
|
||||
side = "right";
|
||||
show_integration_count = true;
|
||||
width = 10;
|
||||
winblend = 25;
|
||||
zindex = 10;
|
||||
};
|
||||
};
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
empty = {
|
||||
plugins.mini-map.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.mini-map = {
|
||||
enable = true;
|
||||
settings = {
|
||||
integrations = lib.nixvim.mkRaw "nil";
|
||||
|
||||
symbols = {
|
||||
encode = lib.nixvim.mkRaw "nil";
|
||||
scroll_line = "█";
|
||||
scroll_view = "┃";
|
||||
};
|
||||
|
||||
window = {
|
||||
focusable = false;
|
||||
side = "right";
|
||||
show_integration_count = true;
|
||||
width = 10;
|
||||
winblend = 25;
|
||||
zindex = 10;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user