feat(fs): add vim.fs.parents()

vim.fs.parents() is a Lua iterator that returns the next parent
directory of the given file or directory on each iteration.
This commit is contained in:
Gregory Anders
2022-05-15 14:38:19 -06:00
parent e6652821bd
commit 67cbaf58c4
5 changed files with 100 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ for k, v in pairs({
keymap = true,
ui = true,
health = true,
fs = true,
}) do
vim._submodules[k] = v
end