add Gitignore (#251)

This commit is contained in:
peach lasagna
2021-03-31 01:11:25 +07:00
committed by GitHub
parent 709d6b968b
commit eadead6072
5 changed files with 42 additions and 0 deletions

View File

@@ -30,6 +30,10 @@ local function update_root_status(root)
end
end
function M.get_path_gitexclude()
return vim.fn.system("git config --get core.excludesFile")
end
function M.reload_roots()
for root, status in pairs(roots) do
if status ~= not_git then