mirror of
https://github.com/nix-community/nixvim.git
synced 2025-11-16 23:42:47 +01:00
18 lines
375 B
Nix
18 lines
375 B
Nix
{
|
|
lib,
|
|
...
|
|
}:
|
|
lib.nixvim.plugins.mkNeovimPlugin {
|
|
name = "trim";
|
|
package = "trim-nvim";
|
|
description = "This plugin trims trailing whitespace and lines.";
|
|
|
|
maintainers = [ lib.maintainers.GaetanLepage ];
|
|
|
|
settingsExample = {
|
|
ft_blocklist = [ "markdown" ];
|
|
patterns = [ "[[%s/\(\n\n\)\n\+/\1/]]" ];
|
|
trim_on_write = false;
|
|
highlight = true;
|
|
};
|
|
}
|