This fixes umbrella path detection. Currently, maybe_umbrella_path is always the same as child_or_root_path because of how vim.fs.find works.
So this change kind of restores the logic that existed before removing lspconfig dep
Suggestion
It also removes the logic that detects if the umbrella path contains the dir apps. This was because this path could be set to another name in mix. exs with :apps_path, and maybe it is redundant checking for this when we found the mix. exs in a parent dir. But this is a suggestion, and I may be missing something.
This fixes umbrella path detection. Currently,
maybe_umbrella_path
is always the same aschild_or_root_path
because of howvim.fs.find
works. So this change kind of restores the logic that existed before removing lspconfig depSuggestion
It also removes the logic that detects if the umbrella path contains the dir
apps
. This was because this path could be set to another name inmix. exs
with:apps_path,
and maybe it is redundant checking for this when we found themix. exs
in a parent dir. But this is a suggestion, and I may be missing something.