mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-08 19:46:06 +01:00
plugins/mini-hipatterns: init
This commit is contained in:
parent
4e04137157
commit
7061e274db
2 changed files with 36 additions and 0 deletions
16
plugins/by-name/mini-hipatterns/default.nix
Normal file
16
plugins/by-name/mini-hipatterns/default.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
||||||
|
{ lib, ... }:
|
||||||
|
lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
|
name = "mini-hipatterns";
|
||||||
|
moduleName = "mini.hipatterns";
|
||||||
|
|
||||||
|
maintainers = [ lib.maintainers.HeitorAugustoLN ];
|
||||||
|
|
||||||
|
settingsExample = {
|
||||||
|
highlighters = lib.nixvim.nestedLiteral (lib.literalExpression "lib.nixvim.emptyTable");
|
||||||
|
|
||||||
|
delay = {
|
||||||
|
text_change = 200;
|
||||||
|
scroll = 50;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
{ lib, ... }:
|
||||||
|
{
|
||||||
|
empty = {
|
||||||
|
plugins.mini-hipatterns.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
defaults = {
|
||||||
|
plugins.mini-hipatterns = {
|
||||||
|
enable = true;
|
||||||
|
settings = {
|
||||||
|
highlighters = lib.nixvim.emptyTable;
|
||||||
|
|
||||||
|
delay = {
|
||||||
|
text_change = 200;
|
||||||
|
scroll = 50;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue