From c86dfabab757c3ba3fbc776c0bbcc7a6bdb05ff1 Mon Sep 17 00:00:00 2001 From: Marco <82162277+mamaraddio@users.noreply.github.com> Date: Wed, 1 Mar 2023 11:45:07 +0100 Subject: chore(custom-finders): don't use deprecated `_close` action (#3903) solve deprecation warning `_close` in `telescope.actions` is deprecated, telescopedocs says to use `close` instead --- lua/lvim/core/telescope/custom-finders.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lua/lvim/core/telescope/custom-finders.lua b/lua/lvim/core/telescope/custom-finders.lua index 37b7bda6..f433f355 100644 --- a/lua/lvim/core/telescope/custom-finders.lua +++ b/lua/lvim/core/telescope/custom-finders.lua @@ -74,9 +74,9 @@ function M.view_lunarvim_changelog() attach_mappings = function(_, map) map("i", "", copy_to_clipboard_action) map("n", "", copy_to_clipboard_action) - map("i", "", actions._close) - map("n", "", actions._close) - map("n", "q", actions._close) + map("i", "", actions.close) + map("n", "", actions.close) + map("n", "q", actions.close) return true end, sorter = sorters.generic_sorter, -- cgit v1.2.3