nix-community.nixvim/plugins/utils/bacon.nix
2024-02-27 18:13:04 +01:00

31 lines
657 B
Nix

{
helpers,
pkgs,
config,
...
}:
helpers.neovim-plugin.mkNeovimPlugin config
{
name = "bacon";
defaultPackage = pkgs.vimPlugins.nvim-bacon;
maintainers = [helpers.maintainers.alisonjenkins];
settingsOptions = {
quickfix = {
enabled = helpers.defaultNullOpts.mkBool true ''
Whether to populate the quickfix list with bacon errors and warnings.
'';
event_trigger = helpers.defaultNullOpts.mkBool true ''
Triggers the `QuickFixCmdPost` event after populating the quickfix list.
'';
};
};
settingsExample = {
quickfix = {
enabled = false;
event_trigger = true;
};
};
}