From 36d4571b05cb75c15365998249469cf05133db6e Mon Sep 17 00:00:00 2001 From: Nikita Kulakov Date: Sat, 13 Aug 2022 19:05:02 +1000 Subject: [PATCH] docs: fix arguments in mappings table to refelct implementation (#2111) (#2125) --- doc/telescope.txt | 2 +- lua/telescope/mappings.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/telescope.txt b/doc/telescope.txt index be5de6b..b10f05e 100644 --- a/doc/telescope.txt +++ b/doc/telescope.txt @@ -1742,7 +1742,7 @@ You can also add additional options for mappings of any type ("action" and { ..., [""] = { - action = actions.move_selection_next, + actions.move_selection_next, type = "action", opts = { nowait = true, silent = true } }, ..., diff --git a/lua/telescope/mappings.lua b/lua/telescope/mappings.lua index 04fbda2..66a7812 100644 --- a/lua/telescope/mappings.lua +++ b/lua/telescope/mappings.lua @@ -80,7 +80,7 @@ --- { --- ..., --- [""] = { ---- action = actions.move_selection_next, +--- actions.move_selection_next, type = "action", --- opts = { nowait = true, silent = true } --- }, --- ...,