mirror of
https://github.com/kristoferssolo/telescope-frecency.nvim.git
synced 2025-10-21 20:10:38 +00:00
deprecate persistent_filter
This commit is contained in:
parent
f7261e9cb5
commit
6415657162
@ -231,9 +231,9 @@ local frecency = function(opts)
|
||||
state.picker:find()
|
||||
|
||||
-- restore last filter
|
||||
if state.persistent_filter and state.last_filter then
|
||||
vim.api.nvim_feedkeys(":" .. state.last_filter .. ":", "n", true)
|
||||
end
|
||||
-- if state.persistent_filter and state.last_filter then
|
||||
-- vim.api.nvim_feedkeys(":" .. state.last_filter .. ":", "n", true)
|
||||
-- end
|
||||
|
||||
vim.api.nvim_buf_set_option(state.picker.prompt_bufnr, "filetype", "frecency")
|
||||
vim.api.nvim_buf_set_option(state.picker.prompt_bufnr, "completefunc", "frecency#FrecencyComplete")
|
||||
@ -264,7 +264,7 @@ return telescope.register_extension {
|
||||
set_config_state('show_scores', ext_config.show_scores, false)
|
||||
set_config_state('show_unindexed', ext_config.show_unindexed, true)
|
||||
set_config_state('show_filter_column', ext_config.show_filter_column, true)
|
||||
set_config_state('persistent_filter', ext_config.persistent_filter, true)
|
||||
-- set_config_state('persistent_filter', ext_config.persistent_filter, true)
|
||||
set_config_state('user_workspaces', ext_config.workspaces, {})
|
||||
|
||||
-- start the database client
|
||||
|
||||
Loading…
Reference in New Issue
Block a user