From 4c5d0e67d0ca05dbbf6cdcc89b0546a5872bdbca Mon Sep 17 00:00:00 2001 From: ray-x Date: Thu, 7 Jul 2022 20:28:17 +1000 Subject: [PATCH] remove table nil handling --- lua/navigator/util.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/navigator/util.lua b/lua/navigator/util.lua index 174a260..dd76a16 100644 --- a/lua/navigator/util.lua +++ b/lua/navigator/util.lua @@ -525,7 +525,7 @@ function M.dedup(locations) end end for i = #del, 1, -1 do - locations = table.remove(locations, del[i]) + table.remove(locations, del[i]) end return locations end