nix-community.nixvim/plugins/by-name/neotest/default.nix
osbm a41559f093
Some checks are pending
Publish every Git push to main to FlakeHub / flakehub-publish (push) Waiting to run
Publish every git push to Flakestry / publish-flake (push) Waiting to run
Documentation / Version info (push) Waiting to run
Documentation / Build (push) Blocked by required conditions
Documentation / Combine builds (push) Blocked by required conditions
Documentation / Deploy (push) Blocked by required conditions
treewide: add plugin descriptions
2025-06-24 06:10:11 +00:00

37 lines
973 B
Nix

{
lib,
...
}:
with lib;
lib.nixvim.plugins.mkNeovimPlugin {
name = "neotest";
description = "An extensible framework for interacting with tests within NeoVim.";
maintainers = [ maintainers.GaetanLepage ];
imports = [ ./adapters.nix ];
settingsOptions = (import ./settings-options.nix { inherit lib; }) // {
adapters = mkOption {
type = with types; listOf strLua;
default = [ ];
# NOTE: We hide this option from the documentation as users should use the top-level
# `adapters` option.
# They can still directly append raw lua code to this `settings.adapters` option.
# In this case, they are responsible for explicitly installing the manually added adapters.
visible = false;
};
};
settingsExample = {
quickfix.enabled = false;
output = {
enabled = true;
open_on_run = true;
};
output_panel = {
enabled = true;
open = "botright split | resize 15";
};
};
}