nix-community.nixvim/plugins/utils/bacon.nix

32 lines
657 B
Nix
Raw Normal View History

2024-02-27 12:45:47 +00:00
{
helpers,
pkgs,
config,
...
}:
helpers.neovim-plugin.mkNeovimPlugin config
{
name = "bacon";
defaultPackage = pkgs.vimPlugins.nvim-bacon;
maintainers = [helpers.maintainers.alisonjenkins];
2024-02-27 18:13:04 +01:00
2024-02-27 12:45:47 +00:00
settingsOptions = {
quickfix = {
2024-02-27 18:13:04 +01:00
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.
'';
2024-02-27 12:45:47 +00:00
};
};
settingsExample = {
quickfix = {
enabled = false;
event_trigger = true;
};
};
}