From 55bdee81e630b3bd69be0f23dc9fa1b42284a252 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Sat, 11 Jan 2025 10:45:14 -0800 Subject: [PATCH] feat: change autoroot order --- lua/scripts/autoroot.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/scripts/autoroot.lua b/lua/scripts/autoroot.lua index 293a5e0..abc7073 100644 --- a/lua/scripts/autoroot.lua +++ b/lua/scripts/autoroot.lua @@ -2,7 +2,7 @@ local M = {} M.setup = function() -- Array of file names indicating root directory. Modify to your liking. - local root_names = { ".git", "Makefile", ".svn", ".hg" } + local root_names = { ".envrc", ".git", "Makefile", ".svn", ".hg" } -- Cache to use for speed up (at cost of possibly outdated results) local root_cache = {}