feat: change autoroot order

This commit is contained in:
Youwen Wu 2025-01-11 10:45:14 -08:00
parent 98672a8e57
commit 55bdee81e6
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

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