feat: change autoroot order
This commit is contained in:
parent
98672a8e57
commit
55bdee81e6
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ local M = {}
|
||||||
|
|
||||||
M.setup = function()
|
M.setup = function()
|
||||||
-- Array of file names indicating root directory. Modify to your liking.
|
-- 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)
|
-- Cache to use for speed up (at cost of possibly outdated results)
|
||||||
local root_cache = {}
|
local root_cache = {}
|
||||||
|
|
Loading…
Reference in a new issue