From d686fb27998fc130f7b851fb6c540f3f1fe806e8 Mon Sep 17 00:00:00 2001 From: Luke Kershaw <35707277+l-kershaw@users.noreply.github.com> Date: Tue, 16 Nov 2021 11:14:52 +0000 Subject: 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 --- lua/telescope/actions/init.lua | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lua/telescope/actions/init.lua') 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 -- cgit v1.2.3