mirror of
https://github.com/LunarVim/LunarVim.git
synced 2024-09-20 18:45:08 +02:00
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:
parent
a7e7f28639
commit
c86dfabab7
1 changed files with 3 additions and 3 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue