mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
lib: remove nixvimTypes
alias
This commit is contained in:
parent
bafc6308f6
commit
2f49c76a6a
59 changed files with 261 additions and 278 deletions
|
@ -42,13 +42,13 @@ in
|
|||
By default the `VIRTUAL_ENV` and `CONDA_PREFIX` environment variables are used if present.
|
||||
'';
|
||||
|
||||
testRunner = helpers.mkNullOrOption (types.either types.str helpers.nixvimTypes.rawLua) ''
|
||||
testRunner = helpers.mkNullOrOption (types.either types.str types.rawLua) ''
|
||||
The name of test runner to use by default.
|
||||
The default value is dynamic and depends on `pytest.ini` or `manage.py` markers.
|
||||
If neither is found "unittest" is used.
|
||||
'';
|
||||
|
||||
testRunners = helpers.mkNullOrOption (with helpers.nixvimTypes; attrsOf strLuaFn) ''
|
||||
testRunners = helpers.mkNullOrOption (with lib.types; attrsOf strLuaFn) ''
|
||||
Set to register test runners.
|
||||
Built-in are test runners for unittest, pytest and django.
|
||||
The key is the test runner name, the value a function to generate the
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue