From 1e3e51d845fb77262ccabe887970f74a1dfa7872 Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Sun, 12 Apr 2026 20:13:38 -0600 Subject: [PATCH] refactor: replace ivy layout with large float, hide search input --- lua/tiny-packupdate/init.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/lua/tiny-packupdate/init.lua b/lua/tiny-packupdate/init.lua index 4721411..015d6bf 100644 --- a/lua/tiny-packupdate/init.lua +++ b/lua/tiny-packupdate/init.lua @@ -54,7 +54,19 @@ local function show_results(results) title = cfg.command .. " Results", items = items, preview = "preview", - layout = { preset = "ivy" }, + layout = { + hidden = { "input" }, + layout = { + box = "horizontal", + width = 0.9, + height = 0.9, + border = "rounded", + title = "{title}", + title_pos = "center", + { win = "list", border = "none", width = 0.3 }, + { win = "preview", title = "{preview}", border = "left", width = 0.7 }, + }, + }, format = function(item) return { { item.text } } end,