feat: sorting popup autocomplete items and initial builtin items (#2518)

(cherry picked from commit 8dd1cb2771)
This commit is contained in:
Juan Barrios
2023-05-24 17:07:01 +02:00
committed by Simon Hauser
parent 5caa8ab208
commit b98bc793c4
2 changed files with 14 additions and 2 deletions
+4
View File
@@ -62,6 +62,10 @@ internal.builtin = function(opts)
end
end
table.sort(objs, function(a, b)
return a.text < b.text
end)
opts.bufnr = vim.api.nvim_get_current_buf()
opts.winnr = vim.api.nvim_get_current_win()
pickers