Skip to content

Commit

Permalink
Remove numbers
Browse files Browse the repository at this point in the history
  • Loading branch information
muchzill4 committed Feb 21, 2024
1 parent 48a2073 commit 34bda93
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/yacp/providers/native.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 34bda93

Please sign in to comment.