From de1760ddfd3e67aa5d2251d7df9e6bad30c36692 Mon Sep 17 00:00:00 2001 From: saygo-png Date: Mon, 3 Nov 2025 22:48:03 +0100 Subject: [PATCH] plugins/lazygit: fix type in setting declaration Signed-off-by: saygo-png --- plugins/by-name/lazygit/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/plugins/by-name/lazygit/default.nix b/plugins/by-name/lazygit/default.nix index 01830daa..88b62db5 100644 --- a/plugins/by-name/lazygit/default.nix +++ b/plugins/by-name/lazygit/default.nix @@ -63,8 +63,14 @@ lib.nixvim.plugins.mkVimPlugin { Config file path is evaluated if this value is `1`. ''; - config_file_path = defaultNullOpts.mkNullable (with types; either str (listOf str)) [ - ] "Custom config file path or list of custom config file paths."; + config_file_path = defaultNullOpts.mkNullable ( + with types; + oneOf [ + str + (listOf str) + rawLua + ] + ) [ ] "Custom config file path or list of custom config file paths."; }; settingsExample = {