elixir-ls now recognizes umbrella projects

Previously, elixir-ls would treat each sub-project within an umbrella as
standalone, which isn't desirable from a language server perspective.

Added ale#handlers#elixir#FindMixUmbrellaRoot, which locates the current
project's root and then continues searching upwards for a potential
umbrella project root. This literally looks just two levels up to keep
things simple while keeping in line with Elixir project conventions.

Use this new function to determine elixir-ls's LSP project root.
This commit is contained in:
Jon Parise
2018-11-01 13:35:18 -07:00
parent acdc99b94d
commit b25794e81b
9 changed files with 32 additions and 10 deletions