plugins/whitespace: init module

This commit is contained in:
Austin Horstman 2025-05-07 22:40:18 -05:00
parent 1158bb13f2
commit 324801b226
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, ... }:
lib.nixvim.plugins.mkNeovimPlugin {
name = "whitespace";
packPathName = "whitespace.nvim";
moduleName = "whitespace-nvim";
package = "whitespace-nvim";
maintainers = [ lib.maintainers.khaneliman ];
settingsExample = {
ignored_filetypes = [
"Avante"
"AvanteInput"
"TelescopePrompt"
"Trouble"
"blink-cmp-documentation"
"blink-cmp-menu"
"blink-cmp-signature"
"checkhealth"
"copilot-chat"
"dashboard"
"fzf"
"help"
"ministarter"
"snacks_dashboard"
];
return_cursor = false;
};
}

View file

@ -0,0 +1,22 @@
{
empty = {
plugins.whitespace.enable = true;
};
defaults = {
plugins.whitespace = {
enable = true;
settings = {
highlight = "DiffDelete";
ignored_filetypes = [
"TelescopePrompt"
"Trouble"
"help"
"dashboard"
];
ignore_terminal = true;
return_cursor = true;
};
};
};
}