diff --git a/lua/yacp/providers/native.lua b/lua/yacp/providers/native.lua index 510e436..6aa1c2d 100644 --- a/lua/yacp/providers/native.lua +++ b/lua/yacp/providers/native.lua @@ -31,6 +31,9 @@ function M.yacp(opts) local defaults = { prompt = "", + format_item = function(item) + return item:gsub("%d. ", "") + end, } opts = vim.tbl_deep_extend("keep", opts or {}, defaults)