diff options
Diffstat (limited to 'yazi-enter.yazi/main.lua')
| -rw-r--r-- | yazi-enter.yazi/main.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/yazi-enter.yazi/main.lua b/yazi-enter.yazi/main.lua index 10ed117..55a58bc 100644 --- a/yazi-enter.yazi/main.lua +++ b/yazi-enter.yazi/main.lua @@ -19,6 +19,12 @@ local function normalize_boolean(name, value) error(("yazi-enter: option --%s must be true, false, 'yes', or 'no'"):format(name), 0) end +local function normalize_options(args) + return normalize_boolean("previous", args.previous), + normalize_boolean("smart", args.smart), + normalize_boolean("insensitive", args.insensitive) +end + local commit = ya.sync(function() return 0 end) |