summaryrefslogtreecommitdiff
path: root/lua/telescope/actions/state.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/telescope/actions/state.lua')
-rw-r--r--lua/telescope/actions/state.lua2
1 files changed, 1 insertions, 1 deletions
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