From d176dd80da1c07c25fd23ad8f934b6055b10889b Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Fri, 9 Jul 2021 21:00:00 +0200 Subject: hotfix: just only false to disable I knew i will break it with my last commit --- lua/telescope/actions/state.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/telescope/actions/state.lua') diff --git a/lua/telescope/actions/state.lua b/lua/telescope/actions/state.lua index 8470f2d..192c44d 100644 --- a/lua/telescope/actions/state.lua +++ b/lua/telescope/actions/state.lua @@ -40,7 +40,7 @@ end function action_state.get_current_history() local history = global_state.get_global_key("history") if not history then - if not conf.history or type(conf.history) ~= "table" then + if conf.history == false or type(conf.history) ~= "table" then history = require('telescope.actions.history').get_simple_history() global_state.set_global_key("history", history) else -- cgit v1.2.3