From 64120cbf627725f25fa81238a93e0da85dc7b1c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B3n=C3=A1n=20Carrigan?= Date: Sun, 31 Jul 2022 11:58:22 +0100 Subject: [PATCH] chore: styling --- lua/neotest/lib/file/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/neotest/lib/file/init.lua b/lua/neotest/lib/file/init.lua index 655922db..9d4df035 100644 --- a/lua/neotest/lib/file/init.lua +++ b/lua/neotest/lib/file/init.lua @@ -256,7 +256,7 @@ function M.match_root_pattern(...) return function(start_path) local start_parents = Path:new(start_path):parents() local potential_roots = M.is_dir(start_path) and vim.list_extend({ start_path }, start_parents) - or start_parents + or start_parents for _, path in ipairs(potential_roots) do for _, pattern in ipairs(patterns) do for _, p in ipairs(async.fn.glob(Path:new(path, pattern).filename, true, true)) do