We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6430d61 commit 2d4ea5dCopy full SHA for 2d4ea5d
lua/avante/history_selector.lua
@@ -75,7 +75,7 @@ function M.open(bufnr, cb)
75
76
vim.ui.select(selector_items, {
77
prompt = "Select Avante History:",
78
- format_item = function(item) return item.name end,
+ format_item = function(item) return item.name:gsub("\n", "\\n") end,
79
}, function(choice)
80
if not choice then return end
81
cb(choice.filename)
0 commit comments