mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-08-16 02:45:09 +00:00
feat: sorting popup autocomplete items and initial builtin items (#2518)
(cherry picked from commit 8dd1cb2771)
This commit is contained in:
committed by
Simon Hauser
parent
5caa8ab208
commit
b98bc793c4
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user