diff options
author | Marco <[email protected]> | 2023-03-01 11:45:07 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2023-03-01 11:45:07 +0100 |
commit | c86dfabab757c3ba3fbc776c0bbcc7a6bdb05ff1 (patch) | |
tree | eb4b6c93f71a456bbcd8e661762c19811d1491f6 /lua/lvim | |
parent | a7e7f28639a70ac56d77867c283c3666cae8ab4d (diff) |
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
Diffstat (limited to 'lua/lvim')
-rw-r--r-- | lua/lvim/core/telescope/custom-finders.lua | 6 |
1 files 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", "<enter>", copy_to_clipboard_action) map("n", "<enter>", copy_to_clipboard_action) - map("i", "<esc>", actions._close) - map("n", "<esc>", actions._close) - map("n", "q", actions._close) + map("i", "<esc>", actions.close) + map("n", "<esc>", actions.close) + map("n", "q", actions.close) return true end, sorter = sorters.generic_sorter, |