mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 17:03:31 +02:00
tests/plugins/utils/spectre: enable tests on Darwin
This commit is contained in:
parent
cb398ce4ba
commit
a96aa9730a
1 changed files with 5 additions and 9 deletions
|
@ -1,16 +1,12 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
let
|
|
||||||
# Fails on darwin with: `module 'plenary.job' not found`
|
|
||||||
enable = !pkgs.stdenv.isDarwin;
|
|
||||||
in
|
|
||||||
{
|
{
|
||||||
empty = {
|
empty = {
|
||||||
plugins.spectre.enable = enable;
|
plugins.spectre.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
package-options-manual = {
|
package-options-manual = {
|
||||||
plugins.spectre = {
|
plugins.spectre = {
|
||||||
inherit enable;
|
enable = true;
|
||||||
|
|
||||||
findPackage = pkgs.ripgrep;
|
findPackage = pkgs.ripgrep;
|
||||||
replacePackage = pkgs.gnused;
|
replacePackage = pkgs.gnused;
|
||||||
|
@ -19,7 +15,7 @@ in
|
||||||
|
|
||||||
package-options-from-settings = {
|
package-options-from-settings = {
|
||||||
plugins.spectre = {
|
plugins.spectre = {
|
||||||
inherit enable;
|
enable = true;
|
||||||
|
|
||||||
settings.default = {
|
settings.default = {
|
||||||
find.cmd = "rg";
|
find.cmd = "rg";
|
||||||
|
@ -30,7 +26,7 @@ in
|
||||||
|
|
||||||
example = {
|
example = {
|
||||||
plugins.spectre = {
|
plugins.spectre = {
|
||||||
inherit enable;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
live_update = true;
|
live_update = true;
|
||||||
|
@ -87,7 +83,7 @@ in
|
||||||
|
|
||||||
defaults = {
|
defaults = {
|
||||||
plugins.spectre = {
|
plugins.spectre = {
|
||||||
inherit enable;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
filetype = "spectre_panel";
|
filetype = "spectre_panel";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue