mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-15 03:34:31 +02:00
plugins: do not import helpers.nix directly
This commit is contained in:
parent
9f3bbca7f1
commit
7dbf7f978c
13 changed files with 83 additions and 119 deletions
|
@ -303,7 +303,7 @@ with lib; let
|
|||
name = "ltex";
|
||||
description = "ltex-ls for LanguageTool";
|
||||
package = pkgs.ltex-ls;
|
||||
settingsOptions = import ./ltex-settings.nix {inherit lib;};
|
||||
settingsOptions = import ./ltex-settings.nix {inherit lib helpers;};
|
||||
settings = cfg: {ltex = cfg;};
|
||||
}
|
||||
{
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{lib}:
|
||||
with lib; let
|
||||
helpers = import ../../helpers.nix {inherit lib;};
|
||||
in {
|
||||
{
|
||||
lib,
|
||||
helpers,
|
||||
}:
|
||||
with lib; {
|
||||
enabled =
|
||||
helpers.defaultNullOpts.mkNullable
|
||||
(with types; either bool (listOf str))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue