Fix: Snacks picker format config (#2828)
This commit is contained in:
@@ -34,7 +34,7 @@ function M.show(selector)
|
||||
source = "select",
|
||||
items = finder_items,
|
||||
---@diagnostic disable-next-line: undefined-global
|
||||
format = Snacks.picker.format.ui_select({}),
|
||||
format = Snacks.picker.format.ui_select({ format_item = function(item, _) return item.title end }),
|
||||
title = selector.title,
|
||||
preview = selector.get_preview_content and "preview" or nil,
|
||||
layout = {
|
||||
|
||||
Reference in New Issue
Block a user