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
This commit is contained in:
Marco 2023-03-01 11:45:07 +01:00 committed by GitHub
parent a7e7f28639
commit c86dfabab7
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 4AEE18F83AFDEB23

View file

@ -74,9 +74,9 @@ function M.view_lunarvim_changelog()
attach_mappings = function(_, map) attach_mappings = function(_, map)
map("i", "<enter>", copy_to_clipboard_action) map("i", "<enter>", copy_to_clipboard_action)
map("n", "<enter>", copy_to_clipboard_action) map("n", "<enter>", copy_to_clipboard_action)
map("i", "<esc>", actions._close) map("i", "<esc>", actions.close)
map("n", "<esc>", actions._close) map("n", "<esc>", actions.close)
map("n", "q", actions._close) map("n", "q", actions.close)
return true return true
end, end,
sorter = sorters.generic_sorter, sorter = sorters.generic_sorter,