From a1425b170bcebbaee11f5b1ff0eb9ee63e19b67c Mon Sep 17 00:00:00 2001 From: "sweep-ai[bot]" <128439645+sweep-ai[bot]@users.noreply.github.com> Date: Thu, 14 Mar 2024 04:47:19 +0000 Subject: [PATCH] feat: Updated lua/hurl/main.lua --- lua/hurl/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/hurl/main.lua b/lua/hurl/main.lua index 6269394..9144326 100644 --- a/lua/hurl/main.lua +++ b/lua/hurl/main.lua @@ -53,7 +53,7 @@ local function find_env_files(file, root_dir, cache_dir, current_file_dir, scan_ end -- sort by path length, the current buffer file path will be the first - table.sort(files, function(a, b) +table.sort(files, function(a, b) return #a.path > #b.path end) return files