nix-community.nixvim/plugins/utils/bacon.nix
Matt Sturgeon 1fd4b6c739
plugins: migrate defaultPackage -> package
Migrate all users of `mkVimPlugin` and `mkNeovimPlugin` to use the new
`package` argument instead of the old `defaultPackage` argument.
2024-09-04 03:29:34 +01:00

28 lines
613 B
Nix

{
helpers,
...
}:
helpers.neovim-plugin.mkNeovimPlugin {
name = "bacon";
package = "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;
};
};
}