From 62389afd34c3ddc4ad102f441310cbc3e0c22f95 Mon Sep 17 00:00:00 2001 From: ranjithshegde Date: Thu, 27 Oct 2022 09:31:17 +0200 Subject: [PATCH] fix(telescope): Correct index for finder Use `Config.options.commands.history` instead of `Config.options.history` --- lua/telescope/_extensions/noice.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/telescope/_extensions/noice.lua b/lua/telescope/_extensions/noice.lua index 26d60ca9..8d0b7c1a 100644 --- a/lua/telescope/_extensions/noice.lua +++ b/lua/telescope/_extensions/noice.lua @@ -27,7 +27,7 @@ function M.display(message) end function M.finder() - local messages = Manager.get(Config.options.history.filter, { + local messages = Manager.get(Config.options.commands.history.filter, { history = true, sort = true, reverse = true,