plugins/ident-tools: init

This commit is contained in:
Gaetan Lepage 2025-04-30 22:49:38 +02:00
parent eeae362038
commit 913a3521ab
2 changed files with 59 additions and 0 deletions

View file

@ -0,0 +1,19 @@
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "indent-tools";
packPathName = "indent-tools.nvim";
package = "indent-tools-nvim";
maintainers = [ lib.maintainers.GaetanLepage ];
settingsExample = {
textobj = {
ii = "iI";
ai = "aI";
};
normal = {
up = false;
down = false;
};
};
}

View file

@ -0,0 +1,40 @@
{
empty = {
plugins.indent-tools.enable = true;
};
defaults = {
plugins.indent-tools = {
enable = true;
settings = {
normal = {
up = "[i";
down = "]i";
repeatable = true;
};
textobj = {
ii = "ii";
ai = "ai";
};
};
};
};
example = {
plugins.indent-tools = {
enable = true;
settings = {
textobj = {
ii = "iI";
ai = "aI";
};
normal = {
up = false;
down = false;
};
};
};
};
}