lib: migrate helpers.nixvimTypes -> lib.types

This commit is contained in:
Matt Sturgeon 2024-08-03 16:36:50 +01:00
parent b414a53649
commit b7f419a759
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
5 changed files with 17 additions and 18 deletions

View file

@ -117,7 +117,7 @@ rec {
// (optionalAttrs (isAttrs action || action) {
action = mkOption (
{
type = helpers.nixvimTypes.maybeRaw str;
type = maybeRaw str;
description = "The action to execute.";
apply = v: if options.lua.isDefined or false && config.lua then helpers.mkRaw v else v;
}