From 9334d02bccb0ed05f0afc71457aa673de492d17f Mon Sep 17 00:00:00 2001 From: LeMarsu Date: Thu, 12 Mar 2026 04:43:42 +0100 Subject: [PATCH] fix: show the bad list name --- lua/sloth-flake/command/list.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/sloth-flake/command/list.lua b/lua/sloth-flake/command/list.lua index 087df24..4d84d8a 100644 --- a/lua/sloth-flake/command/list.lua +++ b/lua/sloth-flake/command/list.lua @@ -38,7 +38,7 @@ return { local filter_name = args[1] or "all" local filter = filters[filter_name] if not filter then - utils.error([[No Sloth list filter "%s".]], cmd) + utils.error([[No Sloth list filter "%s".]], filter_name) utils.error("Filters are: %s", vim.iter(vim.tbl_keys(filters)):join(', ')) return end