nix-community.nixvim/plugins/utils/bacon.nix
2024-05-05 22:00:40 +02:00

30 lines
659 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;
};
};
}