helpers: move rawType to helpers.nixvimTypes (#871)

This is done in preparation of adding new (lua) types to help the
documentation.
This commit is contained in:
traxys 2024-01-01 23:33:53 +01:00 committed by GitHub
parent 2f13e3a21d
commit af41ea2d80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 80 additions and 75 deletions

View file

@ -40,7 +40,7 @@ with lib; let
};
args = {
type = listOf (either str helpers.rawType);
type = listOf (either str helpers.nixvimTypes.rawLua);
description = ''
List of arguments.
Can contain functions with zero arguments that will be evaluated once the linter is used.
@ -229,7 +229,7 @@ in {
callback = mkOption {
type = with types;
nullOr (either str helpers.rawType);
nullOr (either str helpers.nixvimTypes.rawLua);
default = defaultCallback;
description = "What action to perform for linting";
};