Skip to content

Commit b034737

Browse files
committed
plugins/lazygit: fix type in setting declaration
Signed-off-by: saygo-png <saygo.mail@proton.me>
1 parent fd8847b commit b034737

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

plugins/by-name/lazygit/default.nix

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,14 @@ lib.nixvim.plugins.mkVimPlugin {
6363
Config file path is evaluated if this value is `1`.
6464
'';
6565

66-
config_file_path = defaultNullOpts.mkNullable (with types; either str (listOf str)) [
67-
] "Custom config file path or list of custom config file paths.";
66+
config_file_path = defaultNullOpts.mkNullable (
67+
with types;
68+
oneOf [
69+
str
70+
(listOf str)
71+
rawLua
72+
]
73+
) [ ] "Custom config file path or list of custom config file paths.";
6874
};
6975

7076
settingsExample = {

0 commit comments

Comments
 (0)