mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +02:00
plugins/nvim-bacon: init (#1080)
This commit is contained in:
parent
278dfe6215
commit
7eb74fecd1
3 changed files with 43 additions and 0 deletions
|
@ -111,6 +111,7 @@
|
|||
./utils/auto-save.nix
|
||||
./utils/auto-session.nix
|
||||
./utils/autoclose.nix
|
||||
./utils/bacon.nix
|
||||
./utils/better-escape.nix
|
||||
./utils/clipboard-image.nix
|
||||
./utils/comment-nvim.nix
|
||||
|
|
25
plugins/utils/bacon.nix
Normal file
25
plugins/utils/bacon.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
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 "true 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;
|
||||
};
|
||||
};
|
||||
}
|
17
tests/test-sources/plugins/utils/bacon.nix
Normal file
17
tests/test-sources/plugins/utils/bacon.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
empty = {
|
||||
plugins.bacon.enable = true;
|
||||
};
|
||||
|
||||
defaults = {
|
||||
plugins.bacon = {
|
||||
enable = true;
|
||||
settings = {
|
||||
quickfix = {
|
||||
enabled = true;
|
||||
event_trigger = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue