From 3d0a4857274e28d215e64f1f53c90006eafb882e Mon Sep 17 00:00:00 2001 From: TJ DeVries Date: Wed, 30 Sep 2020 09:42:46 -0400 Subject: hotfix: Should stop referencing nil values Don't know why we were getting there, but maybe this will fix the problem? --- lua/telescope/pickers.lua | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lua') diff --git a/lua/telescope/pickers.lua b/lua/telescope/pickers.lua index b599bb4..798ae39 100644 --- a/lua/telescope/pickers.lua +++ b/lua/telescope/pickers.lua @@ -416,6 +416,11 @@ function Picker:find() local process_result = function(entry) self:_increment("processed") + if not entry then + log.debug("No entry...") + return + end + -- TODO: Should we even have valid? if entry.valid == false then return -- cgit v1.2.3