refactor: replace ivy layout with large float, hide search input
CI / lint (push) Canceled after 0s
CI / test (push) Canceled after 0s

This commit is contained in:
swaits committed 2026-04-12 20:26:17 -06:00
1 parent bd4e6456d1
commit 1e3e51d845
1 file changed
+13 -1
+13 -1
View File
@@ -54,7 +54,19 @@ local function show_results(results)
title = cfg.command .. " Results", title = cfg.command .. " Results",
items = items, items = items,
preview = "preview", 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) format = function(item)
return { { item.text } } return { { item.text } }
end, end,