summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/telescope.txt2
-rw-r--r--lua/telescope/mappings.lua2
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
{
...,
["<C-j>"] = {
- 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 @@
--- {
--- ...,
--- ["<C-j>"] = {
---- action = actions.move_selection_next,
+--- actions.move_selection_next, type = "action",
--- opts = { nowait = true, silent = true }
--- },
--- ...,