mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-05-27 00:23:47 +00:00
feat: Improve filtering ideas for sorters.
This commit is contained in:
@@ -394,6 +394,10 @@ function Picker:find()
|
||||
|
||||
local prompt = vim.trim(vim.api.nvim_buf_get_lines(prompt_bufnr, first_line, last_line, false)[1]:sub(#prompt_prefix))
|
||||
|
||||
if self.sorter then
|
||||
self.sorter:_start(prompt)
|
||||
end
|
||||
|
||||
-- TODO: Statusbar possibilities here.
|
||||
-- vim.api.nvim_buf_set_virtual_text(prompt_bufnr, 0, 1, { {"hello", "Error"} }, {})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user