mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 01:38:40 +02:00
plugins/alpha: rawLua support
This commit is contained in:
parent
9307b201a3
commit
17b79813bf
1 changed files with 3 additions and 2 deletions
|
@ -27,8 +27,9 @@ let
|
||||||
val = helpers.mkNullOrOption (
|
val = helpers.mkNullOrOption (
|
||||||
with helpers.nixvimTypes;
|
with helpers.nixvimTypes;
|
||||||
nullOr (oneOf [
|
nullOr (oneOf [
|
||||||
|
|
||||||
# "button", "text"
|
# "button", "text"
|
||||||
str
|
(maybeRaw str)
|
||||||
# "padding"
|
# "padding"
|
||||||
int
|
int
|
||||||
(listOf (
|
(listOf (
|
||||||
|
@ -82,7 +83,7 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
layout = mkOption {
|
layout = mkOption {
|
||||||
type = types.listOf sectionType;
|
type = with types; either (maybeRaw str) (listOf sectionType);
|
||||||
default = [ ];
|
default = [ ];
|
||||||
description = "List of sections to layout for the dashboard";
|
description = "List of sections to layout for the dashboard";
|
||||||
example = [
|
example = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue