summaryrefslogtreecommitdiff
path: root/lua/telescope/actions/init.lua
diff options
context:
space:
mode:
authorLuke Kershaw <35707277+l-kershaw@users.noreply.github.com>2021-11-16 11:14:52 +0000
committerLuke Kershaw <35707277+l-kershaw@users.noreply.github.com>2021-11-18 19:44:12 +0000
commitd686fb27998fc130f7b851fb6c540f3f1fe806e8 (patch)
treeaeb44da568dcd5b39202b41e7d65fb82a11eab81 /lua/telescope/actions/init.lua
parentedcf07cf885f86c08c5b15f333b7c82b15c3527b (diff)
fix: cleanup of layout actions
* fix: finish docs and remove mistakes from merge * fix: change order of `popup` changes based on type of change - removes "flash" issue where popups don't update in sync
Diffstat (limited to 'lua/telescope/actions/init.lua')
-rw-r--r--lua/telescope/actions/init.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/lua/telescope/actions/init.lua b/lua/telescope/actions/init.lua
index bafa914..0da521b 100644
--- a/lua/telescope/actions/init.lua
+++ b/lua/telescope/actions/init.lua
@@ -144,13 +144,6 @@ function actions.toggle_all(prompt_bufnr)
end)
end
---- Toggle preview window.
---- - Note: preview window can be toggled even if preview is set to false.
----@param prompt_bufnr number: The prompt bufnr
-function actions.toggle_preview(prompt_bufnr)
- action_state.get_current_picker(prompt_bufnr):toggle_preview()
-end
-
function actions.preview_scrolling_up(prompt_bufnr)
action_set.scroll_previewer(prompt_bufnr, -1)
end