plugins/alpha: rawLua support

This commit is contained in:
Austin Horstman 2024-09-18 21:31:19 -05:00
parent 9307b201a3
commit 17b79813bf
No known key found for this signature in database

View file

@ -27,8 +27,9 @@ let
val = helpers.mkNullOrOption (
with helpers.nixvimTypes;
nullOr (oneOf [
# "button", "text"
str
(maybeRaw str)
# "padding"
int
(listOf (
@ -82,7 +83,7 @@ in
};
layout = mkOption {
type = types.listOf sectionType;
type = with types; either (maybeRaw str) (listOf sectionType);
default = [ ];
description = "List of sections to layout for the dashboard";
example = [