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 = {}